aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-08-06 19:43:45 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-08-06 19:43:45 +0000
commit24c25b071f2ff18c4f098e1d6d391370a73eba7d (patch)
tree8d166b507cd94aaf3919ae287ade5e8de316ef19
parentba3e8330362953c39b3a9efc8d8141ffa2cf37a0 (diff)
downloadupstream-24c25b071f2ff18c4f098e1d6d391370a73eba7d.tar.gz
upstream-24c25b071f2ff18c4f098e1d6d391370a73eba7d.tar.bz2
upstream-24c25b071f2ff18c4f098e1d6d391370a73eba7d.zip
Allow rdc-2.6 to kexec
SVN-Revision: 8359
-rw-r--r--package/kexec-tools/Makefile4
-rw-r--r--target/linux/rdc-2.6/config/default1
2 files changed, 3 insertions, 2 deletions
diff --git a/package/kexec-tools/Makefile b/package/kexec-tools/Makefile
index cfca8b1dcc..7289930812 100644
--- a/package/kexec-tools/Makefile
+++ b/package/kexec-tools/Makefile
@@ -21,7 +21,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/kexec-tools
SECTION:=utils
CATEGORY:=Utilities
- DEPENDS:=@LINUX_2_6_X86 +zlib
+ DEPENDS:=@LINUX_2_6_X86||@LINUX_2_6_RDC +zlib
TITLE:=Kernel boots kernel
DESCRIPTION:=\
kexec is a set of systems call that allows you to load \\\
@@ -32,7 +32,7 @@ endef
MAKE_FLAGS += \
DESTDIR="$(PKG_INSTALL_DIR)" \
EXTRA_CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \
- BUILD_CFLAGS="-O2" \
+ BUILD_CFLAGS="-Os" \
LIBS="$(TARGET_LDFLAGS) -lz" \
install
diff --git a/target/linux/rdc-2.6/config/default b/target/linux/rdc-2.6/config/default
index b0990e42e2..ec8a6e6d3d 100644
--- a/target/linux/rdc-2.6/config/default
+++ b/target/linux/rdc-2.6/config/default
@@ -100,6 +100,7 @@ CONFIG_ISA_DMA_API=y
CONFIG_JFFS2_FS_DEBUG=0
CONFIG_JFFS2_RUBIN=y
CONFIG_JFS_FS=m
+CONFIG_KEXEC=y
CONFIG_KTIME_SCALAR=y
# CONFIG_KVM is not set
CONFIG_LBD=y