summaryrefslogtreecommitdiff
path: root/openwrt/package/linux/linux.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-02-17 23:20:02 +0000
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-02-17 23:20:02 +0000
commit2045edee87363197d2d360a67b98b3b601d88262 (patch)
tree0ebb4f2695d7703cc526aff3484ff1915c40143f /openwrt/package/linux/linux.mk
parenteb77566679ef2b46444f389de12546bdaa1025a4 (diff)
downloadmtk-20170518-2045edee87363197d2d360a67b98b3b601d88262.zip
mtk-20170518-2045edee87363197d2d360a67b98b3b601d88262.tar.gz
mtk-20170518-2045edee87363197d2d360a67b98b3b601d88262.tar.bz2
squashfs-lzma
SVN-Revision: 254
Diffstat (limited to 'openwrt/package/linux/linux.mk')
-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 4b7645c..4175445 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) -