summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-02-17 23:20:02 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-02-17 23:20:02 +0000
commit784717ea23d489a2969efdb5294158a51ae50bfb (patch)
tree0ebb4f2695d7703cc526aff3484ff1915c40143f
parent74e03fdfa3c00e1603545fa3bfc358bbd6c1294b (diff)
squashfs-lzma
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@254 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/package/linux/linux.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/openwrt/package/linux/linux.mk b/openwrt/package/linux/linux.mk
index 4b7645c961..4175445bf5 100644
--- a/openwrt/package/linux/linux.mk
+++ b/openwrt/package/linux/linux.mk
@@ -49,6 +49,9 @@ $(LINUX_DIR)/.unpacked: $(DL_DIR)/$(LINUX_SOURCE) $(DL_DIR)/$(LINKSYS_KERNEL_TGZ
-mkdir -p $(TOOL_BUILD_DIR)
-(cd $(TOOL_BUILD_DIR); ln -sf $(LINUX_DIR) linux)
toolchain/patch-kernel.sh $(LINUX_DIR) package/linux/kernel-patches
+ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS_LZMA),y)
+ toolchain/patch-kernel.sh $(LINUX_DIR) target/squashfs-lzma/kernel-patch
+endif
-cp $(LINUX_KCONFIG) $(LINUX_DIR)/.config
# extract linksys binary kernel stuff and include/shared files
zcat $(DL_DIR)/$(LINKSYS_KERNEL_TGZ) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -