Allow rdc-2.6 to kexec
authorFlorian Fainelli <florian@openwrt.org>
Mon, 6 Aug 2007 19:43:45 +0000 (19:43 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 6 Aug 2007 19:43:45 +0000 (19:43 +0000)
SVN-Revision: 8359

package/kexec-tools/Makefile
target/linux/rdc-2.6/config/default

index cfca8b1dccd3f35402e142dfd46b3e733ef3d771..7289930812785726f3fb4013d5ce1556cdca30b0 100644 (file)
@@ -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
 
index b0990e42e2b26cb78201fabc7a6627bb4c346f2f..ec8a6e6d3dfc93f83d8d5e6b18164dc61c7b029b 100644 (file)
@@ -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