summaryrefslogtreecommitdiff
path: root/openwrt/package/linux/linux.mk
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2005-03-03 02:44:10 +0000
committerMike Baker <mbm@openwrt.org>2005-03-03 02:44:10 +0000
commit1ef215245e59a81aae397c070f95b1a35488030d (patch)
treeca25eb84f47cb93a9de4df4731c93d324c078694 /openwrt/package/linux/linux.mk
parent87c8266371536e2c4bada4beedcb13e004f89aed (diff)
downloadmtk-20170518-1ef215245e59a81aae397c070f95b1a35488030d.zip
mtk-20170518-1ef215245e59a81aae397c070f95b1a35488030d.tar.gz
mtk-20170518-1ef215245e59a81aae397c070f95b1a35488030d.tar.bz2
target/jffs2/blocksize.mk for setting block size (req. for wrt54g) squashfs removed in favor of squashfs-lzma
SVN-Revision: 301
Diffstat (limited to 'openwrt/package/linux/linux.mk')
-rw-r--r--openwrt/package/linux/linux.mk14
1 files changed, 3 insertions, 11 deletions
diff --git a/openwrt/package/linux/linux.mk b/openwrt/package/linux/linux.mk
index bead222..6e3f7a4 100644
--- a/openwrt/package/linux/linux.mk
+++ b/openwrt/package/linux/linux.mk
@@ -50,21 +50,13 @@ $(LINUX_DIR)/.unpacked: $(DL_DIR)/$(LINUX_SOURCE) $(DL_DIR)/$(LINKSYS_KERNEL_TGZ
$(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
$(PATCH) $(LINUX_DIR) $(LINUX_PATCHES)
-ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS_LZMA),y)
- $(PATCH) $(LINUX_DIR) target/squashfs-lzma/kernel-patch
-endif
touch $(LINUX_DIR)/.patched
$(LINUX_DIR)/.configured: $(LINUX_DIR)/.patched
-cp $(LINUX_KCONFIG) $(LINUX_DIR)/.config
-ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS_LZMA),y)
- $(SED) "s,rootfstype=jffs2,rootfstype=squashfs," $(LINUX_DIR)/.config
-endif
-ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS),y)
- $(SED) "s,rootfstype=jffs2,rootfstype=squashfs," $(LINUX_DIR)/.config
-endif
- $(SED) "s,^CROSS_COMPILE.*,CROSS_COMPILE=$(KERNEL_CROSS),g;" $(LINUX_DIR)/Makefile
- $(SED) "s,^CROSS_COMPILE.*,CROSS_COMPILE=$(KERNEL_CROSS),g;" $(LINUX_DIR)/arch/mips/Makefile
+ $(SED) "s,^CROSS_COMPILE.*,CROSS_COMPILE=$(KERNEL_CROSS),g;" \
+ $(LINUX_DIR)/Makefile \
+ $(LINUX_DIR)/arch/mips/Makefile
$(SED) "s,\-mcpu=,\-mtune=,g;" $(LINUX_DIR)/arch/mips/Makefile
$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_KARCH) oldconfig include/linux/version.h
touch $(LINUX_DIR)/.configured