summaryrefslogtreecommitdiffstats
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
commitca12e145c70aa4a1a4f386c94080473b3bddc4a0 (patch)
treeab8cfc255825abd4863cd0828546c7a578af4143
parent9256c75263d7987574ad21ea5dea67867d18333c (diff)
squashfs-lzma
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@254 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/linux/linux.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/linux/linux.mk b/package/linux/linux.mk
index 4b7645c96..4175445bf 100644
--- a/package/linux/linux.mk
+++ b/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) -