diff options
-rw-r--r-- | mk/kernel-build.mk | 2 | ||||
-rw-r--r-- | target/linux/patches/3.11.5/mips-lzo-fix.patch | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/mk/kernel-build.mk b/mk/kernel-build.mk index 63046175d..65c83c420 100644 --- a/mk/kernel-build.mk +++ b/mk/kernel-build.mk @@ -36,7 +36,7 @@ $(LINUX_DIR)/$(KERNEL_TARGET): $(LINUX_DIR)/.config ${KERNEL_MAKE_ENV} $(MAKE) ${KERNEL_MAKE_OPTS} DEPMOD=true \ INSTALL_MOD_PATH=$(LINUX_BUILD_DIR)/modules \ LOCALVERSION="" \ - modules_install $(MAKE_TRACE) + modules modules_install $(MAKE_TRACE) $(TRACE) target/$(ADK_TARGET_ARCH)-create-packages ifneq ($(strip $(TARGETS)),) $(MAKE) $(TARGETS) diff --git a/target/linux/patches/3.11.5/mips-lzo-fix.patch b/target/linux/patches/3.11.5/mips-lzo-fix.patch new file mode 100644 index 000000000..0740bdc6a --- /dev/null +++ b/target/linux/patches/3.11.5/mips-lzo-fix.patch @@ -0,0 +1,12 @@ +diff -Nur linux-3.11.5.orig/arch/mips/boot/compressed/decompress.c linux-3.11.5/arch/mips/boot/compressed/decompress.c +--- linux-3.11.5.orig/arch/mips/boot/compressed/decompress.c 2013-10-14 03:14:45.000000000 +0200 ++++ linux-3.11.5/arch/mips/boot/compressed/decompress.c 2013-11-08 18:19:47.000000000 +0100 +@@ -43,7 +43,7 @@ + /* activate the code for pre-boot environment */ + #define STATIC static + +-#ifdef CONFIG_KERNEL_GZIP ++#if defined(CONFIG_KERNEL_GZIP) || defined(CONFIG_KERNEL_LZO) + void *memcpy(void *dest, const void *src, size_t n) + { + int i; |