From 6331e0d599b67379c2bee1d584cf42ab94e9fc9e Mon Sep 17 00:00:00 2001 From: wbx Date: Sat, 19 Feb 2005 13:00:30 +0000 Subject: demistifying make *clean targets, fix some clean targets issues git-svn-id: svn://svn.openwrt.org/openwrt/trunk@272 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/linux/linux.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'openwrt/package/linux/linux.mk') diff --git a/openwrt/package/linux/linux.mk b/openwrt/package/linux/linux.mk index 6d4545b3c..bead2226a 100644 --- a/openwrt/package/linux/linux.mk +++ b/openwrt/package/linux/linux.mk @@ -57,6 +57,12 @@ endif $(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,\-mcpu=,\-mtune=,g;" $(LINUX_DIR)/arch/mips/Makefile -- cgit v1.2.3