From 24c25b071f2ff18c4f098e1d6d391370a73eba7d Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 6 Aug 2007 19:43:45 +0000 Subject: [PATCH] Allow rdc-2.6 to kexec SVN-Revision: 8359 --- package/kexec-tools/Makefile | 4 ++-- target/linux/rdc-2.6/config/default | 1 + 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 -- 2.30.2