diff options
Diffstat (limited to 'target/linux/image')
-rw-r--r-- | target/linux/image/Makefile | 11 | ||||
-rw-r--r-- | target/linux/image/jffs2.mk | 12 | ||||
-rw-r--r-- | target/linux/image/squashfs.mk | 9 |
3 files changed, 13 insertions, 19 deletions
diff --git a/target/linux/image/Makefile b/target/linux/image/Makefile index e64efbf357..af7cd0e8d5 100644 --- a/target/linux/image/Makefile +++ b/target/linux/image/Makefile @@ -15,22 +15,19 @@ include ./tgz.mk endif prepare: - $(MAKE) prepare-targets $(MAKE_TRACE) + $(MAKE) prepare-targets compile: - $(MAKE) compile-targets $(MAKE_TRACE) + $(MAKE) compile-targets install: - $(MAKE) install-targets $(MAKE_TRACE) + $(MAKE) install-targets .PHONY: prepare compile install $(BOARD)-compile: - @$(TRACE) target/linux/image/$(BOARD)-prepare $(MAKE) -C $(BOARD) prepare - @$(TRACE) target/linux/image/$(BOARD)-compile $(MAKE) -C $(BOARD) compile install-ib: - @$(TRACE) target/linux/image/$(BOARD)-install-ib -$(MAKE) -C $(BOARD) IB_DIR="$(IB_DIR)" install-ib mkdir -p $(IB_DIR)/build_$(ARCH)/linux-$(KERNEL)-$(BOARD) $(CP) $(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)/kernel[-_]*.ipk $(IB_DIR)/build_$(ARCH)/linux-$(KERNEL)-$(BOARD)/ @@ -44,4 +41,4 @@ install-prepare: rebuild: clean prepare compile install clean: - $(MAKE) clean-targets $(MAKE_TRACE) + $(MAKE) clean-targets diff --git a/target/linux/image/jffs2.mk b/target/linux/image/jffs2.mk index c7d4335d8c..1b0c3a778f 100644 --- a/target/linux/image/jffs2.mk +++ b/target/linux/image/jffs2.mk @@ -7,31 +7,29 @@ endif #JFFS2OPTS += -Xlzo -msize -Xlzari jffs2-prepare: - $(MAKE) -C jffs2 prepare $(MAKE_TRACE) + $(MAKE) -C jffs2 prepare jffs2-compile: prepare-targets - $(MAKE) -C jffs2 compile $(MAKE_TRACE) + $(MAKE) -C jffs2 compile jffs2-clean: - $(MAKE) -C jffs2 clean $(MAKE_TRACE) + $(MAKE) -C jffs2 clean rm -f $(KDIR)/root.jffs2* $(KDIR)/root.jffs2-4MB: install-prepare @rm -rf $(KDIR)/root/jffs - $(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e 0x10000 -o $@ -d $(KDIR)/root $(MAKE_TRACE) + $(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e 0x10000 -o $@ -d $(KDIR)/root $(KDIR)/root.jffs2-8MB: install-prepare @rm -rf $(KDIR)/root/jffs - $(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e 0x20000 -o $@ -d $(KDIR)/root $(MAKE_TRACE) + $(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e 0x20000 -o $@ -d $(KDIR)/root ifeq ($(IB),) jffs2-install: compile-targets $(BOARD)-compile endif jffs2-install: $(KDIR)/root.jffs2-4MB $(KDIR)/root.jffs2-8MB - $(TRACE) target/linux/image/$(BOARD)/install $(MAKE) -C $(BOARD) install KERNEL="$(KERNEL)" FS="jffs2-4MB" - $(TRACE) target/linux/image/$(BOARD)/install $(MAKE) -C $(BOARD) install KERNEL="$(KERNEL)" FS="jffs2-8MB" jffs2-install-ib: compile-targets diff --git a/target/linux/image/squashfs.mk b/target/linux/image/squashfs.mk index 0b39aa1611..29ce5522d5 100644 --- a/target/linux/image/squashfs.mk +++ b/target/linux/image/squashfs.mk @@ -5,25 +5,24 @@ ifeq ($(ARCH),mips) endif squashfs-prepare: - $(MAKE) -C squashfs prepare $(MAKE_TRACE) + $(MAKE) -C squashfs prepare squashfs-compile: prepare-targets - $(MAKE) -C squashfs compile $(MAKE_TRACE) + $(MAKE) -C squashfs compile squashfs-clean: - $(MAKE) -C squashfs clean $(MAKE_TRACE) + $(MAKE) -C squashfs clean rm -f $(KDIR)/root.squashfs $(KDIR)/root.squashfs: install-prepare @mkdir -p $(KDIR)/root/jffs - $(STAGING_DIR)/bin/mksquashfs-lzma $(KDIR)/root $@ -nopad -noappend -root-owned -$(endian) $(MAKE_TRACE) + $(STAGING_DIR)/bin/mksquashfs-lzma $(KDIR)/root $@ -nopad -noappend -root-owned -$(endian) ifeq ($(IB),) squashfs-install: compile-targets $(BOARD)-compile endif squashfs-install: $(KDIR)/root.squashfs - $(TRACE) target/linux/image/$(BOARD)/install $(MAKE) -C $(BOARD) install KERNEL="$(KERNEL)" FS="squashfs" squashfs-install-ib: compile-targets |