diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-10-22 00:06:20 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-10-22 00:06:20 +0000 |
commit | c65955aa6a15b044fcdb98b09544536a57a6692c (patch) | |
tree | a24ab49da85d53a681590386f6607a72660a29fd /openwrt/target/linux/image | |
parent | 9c4caa1e7a14df7eed795618fbd4254a8b09ee4a (diff) |
large build system cleanup. added some stuff to control the verbosity level, but not complete, yet.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2221 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/image')
-rw-r--r-- | openwrt/target/linux/image/Makefile | 5 | ||||
-rw-r--r-- | openwrt/target/linux/image/jffs2.mk | 4 | ||||
-rw-r--r-- | openwrt/target/linux/image/squashfs.mk | 3 |
3 files changed, 10 insertions, 2 deletions
diff --git a/openwrt/target/linux/image/Makefile b/openwrt/target/linux/image/Makefile index 1e3e22f15c..1dd48c7528 100644 --- a/openwrt/target/linux/image/Makefile +++ b/openwrt/target/linux/image/Makefile @@ -17,10 +17,15 @@ endif 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)/ diff --git a/openwrt/target/linux/image/jffs2.mk b/openwrt/target/linux/image/jffs2.mk index 2a169ab320..ab8cfbef33 100644 --- a/openwrt/target/linux/image/jffs2.mk +++ b/openwrt/target/linux/image/jffs2.mk @@ -19,8 +19,10 @@ $(KDIR)/root.jffs2-8MB: install-prepare @rm -rf $(KDIR)/root/jffs $(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e 0x20000 -o $@ -d $(KDIR)/root -jffs2-install: $(KDIR)/root.jffs2-4MB $(KDIR)/root.jffs2-8MB +jffs2-install: $(KDIR)/root.jffs2-4MB $(KDIR)/root.jffs2-8MB $(BOARD)-compile + $(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: diff --git a/openwrt/target/linux/image/squashfs.mk b/openwrt/target/linux/image/squashfs.mk index 3811567a09..00411c05e4 100644 --- a/openwrt/target/linux/image/squashfs.mk +++ b/openwrt/target/linux/image/squashfs.mk @@ -12,7 +12,8 @@ $(KDIR)/root.squashfs: install-prepare @mkdir -p $(KDIR)/root/jffs $(STAGING_DIR)/bin/mksquashfs-lzma $(KDIR)/root $@ -nopad -noappend -root-owned -le -squashfs-install: $(KDIR)/root.squashfs +squashfs-install: $(KDIR)/root.squashfs $(BOARD)-compile + $(TRACE) target/linux/image/$(BOARD)/install $(MAKE) -C $(BOARD) install KERNEL="$(KERNEL)" FS="squashfs" squashfs-install-ib: |