remove old trace/verbose junk
authorFelix Fietkau <nbd@openwrt.org>
Wed, 10 May 2006 20:32:22 +0000 (20:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 10 May 2006 20:32:22 +0000 (20:32 +0000)
SVN-Revision: 3755

19 files changed:
openwrt/Makefile
openwrt/package/Makefile
openwrt/package/rules.mk
openwrt/rules.mk
openwrt/target/Makefile
openwrt/target/linux/Makefile
openwrt/target/linux/ar531x-2.4/Makefile
openwrt/target/linux/ar7-2.4/Makefile
openwrt/target/linux/au1000-2.6/Makefile
openwrt/target/linux/brcm-2.4/Makefile
openwrt/target/linux/image/Makefile
openwrt/target/linux/image/jffs2.mk
openwrt/target/linux/image/squashfs.mk
openwrt/target/linux/kernel.mk
openwrt/target/linux/package/Makefile
openwrt/target/linux/rules.mk
openwrt/target/linux/x86-2.4/Makefile
openwrt/target/linux/x86-2.6/Makefile
openwrt/target/lzma/Makefile

index b938c241f9f084b77c55e18188dc679751072d66..ec1e3677ab8d23796a4ad62b266fc42362a832aa 100644 (file)
@@ -38,10 +38,6 @@ endif
 endif
 export OPENWRTVERSION
 
-ifeq ($(shell ./scripts/timestamp.pl -p .pkginfo package),package)
-.pkginfo: pkginfo-clean
-endif
-
 .pkginfo:
        @echo Collecting package info...
        @-for makefile in package/*/Makefile; do \
@@ -49,6 +45,10 @@ endif
                $(MAKE) DUMP=1 -f $$makefile 2>&- || true; \
        done > $@
        
+ifeq ($(shell ./scripts/timestamp.pl -p .pkginfo package),package)
+.pkginfo: pkginfo-clean
+endif
+
 .config.in: .pkginfo
        ./scripts/gen_menuconfig.pl < $< > $@ || rm -f $@
 
index d213200156f56eed4899babcc00034f2a6fc2876..e0bd23c7ecb7352172ac9e0b69d4252f68ae1b49 100644 (file)
@@ -8,53 +8,15 @@ clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m))
 compile: $(COMPILE_PACKAGES)
 install: base-files-install $(INSTALL_PACKAGES)
 
-$(COMPILE_PACKAGES): base-files-compile
-$(INSTALL_PACKAGES): base-files-install
-
-$(STAMP_DIR):
+$(STAMP_DIR) $(TARGET_DIR):
        mkdir -p $@
 
-$(TARGET_DIR):
-       mkdir -p $(TARGET_DIR)
-
 %-prepare: $(STAMP_DIR) $(TARGET_DIR)
-       @[ -f $(STAMP_DIR)/.$@ ] || { \
-               $(START_TRACE) "package/$(patsubst %-prepare,%,$@)-prepare: "; \
-               $(MAKE) -C $(patsubst %-prepare,%,$@) prepare && { \
-                       touch $(STAMP_DIR)/.$@; \
-                       $(CMD_TRACE) " done"; \
-                       $(END_TRACE); \
-               } \
-       }
-
-%-compile:
-       @[ -f $(STAMP_DIR)/.$@ ] || { \
-               $(START_TRACE) "package/$(patsubst %-compile,%,$@)-compile: "; \
-               $(MAKE) -C $(patsubst %-compile,%,$@) compile && { \
-                       touch $(STAMP_DIR)/.$(patsubst %-compile,%,$@)-prepare; \
-                       touch $(STAMP_DIR)/.$@; \
-                       $(CMD_TRACE) " done"; \
-                       $(END_TRACE); \
-               } \
-       }
-
-%-install: %-compile
-       @$(START_TRACE) "package/$(patsubst %-install,%,$@)-install: "
-       @$(MAKE) -C $(patsubst %-install,%,$@) install
-       @$(CMD_TRACE) " done"
-       @$(END_TRACE)
+       $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
 
-%-rebuild: 
-       @$(START_TRACE) "package/$(patsubst %-rebuild,%,$@)-rebuild: "
-       @rm -f $(STAMP_DIR)/.$(patsubst %-rebuild,%,$@)-*
-       $(MAKE) -C $(patsubst %-rebuild,%,$@) rebuild
-       @$(CMD_TRACE) " done"
-       @$(END_TRACE)
+%-compile: $(STAMP_DIR) $(TARGET_DIR)
+       $(MAKE) -C $(patsubst %-compile,%,$@) compile
 
-%-clean:
-       @$(START_TRACE) "package/$(patsubst %-clean,%,$@)-clean: "
-       @$(MAKE) -C $(patsubst %-clean,%,$@) clean
-       @rm -f $(STAMP_DIR)/.$(patsubst %-clean,%,$@)-*
-       @$(CMD_TRACE) " done"
-       @$(END_TRACE)
+%-clean: $(STAMP_DIR) $(TARGET_DIR)
+       $(MAKE) -C $(patsubst %-clean,%,$@) clean
 
index 81bac08b9253f477ef79deb820fbb1fdbd99188b..540b14f63a2b7add132bc97a630ca20cda4534dc 100644 (file)
@@ -164,8 +164,7 @@ endef
 
 ifneq ($(strip $(PKG_SOURCE)),)
 $(DL_DIR)/$(PKG_SOURCE):
-       @$(CMD_TRACE) "downloading... "
-       $(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(PKG_SOURCE)" "$(PKG_MD5SUM)" $(PKG_SOURCE_URL) $(MAKE_TRACE) 
+       $(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(PKG_SOURCE)" "$(PKG_MD5SUM)" $(PKG_SOURCE_URL)
        
 $(PKG_BUILD_DIR)/.prepared: $(DL_DIR)/$(PKG_SOURCE)
 endif
@@ -237,42 +236,24 @@ ifneq ($(DUMP),)
 dumpinfo:
        $(DUMPINFO)
 else
+               
+$(PACKAGE_DIR):
+       mkdir -p $@
 
 source: $(DL_DIR)/$(PKG_SOURCE)
-prepare: source
-       @[ -f $(PKG_BUILD_DIR)/.prepared ] || { \
-               $(CMD_TRACE) "preparing... "; \
-               $(MAKE) $(PKG_BUILD_DIR)/.prepared $(MAKE_TRACE); \
-       }
-
-configure: prepare
-       @[ -f $(PKG_BUILD_DIR)/.configured ] || { \
-               $(CMD_TRACE) "configuring... "; \
-               $(MAKE) $(PKG_BUILD_DIR)/.configured $(MAKE_TRACE); \
-       }
+prepare: $(PKG_BUILD_DIR)/.prepared
+configure: $(PKG_BUILD_DIR)/.configured
 
 compile-targets:
-compile: configure
-       @$(CMD_TRACE) "compiling... " 
-       @$(MAKE) compile-targets $(MAKE_TRACE)
+compile: compile-targets
 
 install-targets:
-install:
-       @$(CMD_TRACE) "installing... "
-       @$(MAKE) install-targets $(MAKE_TRACE)
-
-rebuild:
-       $(CMD_TRACE) "rebuilding... "
-       $(MAKE) package-clean compile $(MAKE_TRACE)
-
-$(PACKAGE_DIR):
-       mkdir -p $@
+install: install-targets
 
 clean-targets:
 clean: 
-       @$(CMD_TRACE) "cleaning... " 
-       @$(MAKE) clean-targets $(MAKE_TRACE)
+       @$(MAKE) clean-targets
        rm -rf $(PKG_BUILD_DIR)
 endif
 
-.PHONY: all source prepare compile install clean rebuild dumpinfo compile-targets install-targets clean-targets
+.PHONY: all source prepare compile install clean dumpinfo compile-targets install-targets clean-targets
index a7167ca0253b085dc92ccc7dac799c5ab46ae767..417dae7de0848b6487848a0dcba8699842edc5d1 100644 (file)
@@ -9,38 +9,6 @@ ifeq ($(V),)
 V=5
 endif
 
-
-ifneq ($(V),0)
-TRACE:=echo "---> "
-START_TRACE:=echo -n "---> "
-END_TRACE:=echo
-else
-START_TRACE:=:
-END_TRACE:=:
-TRACE:=:
-endif
-
-ifeq (${shell [ "$(V)" -ge 5 ] && echo 1},)
-CMD_TRACE:=:
-PKG_TRACE:=:
-else
-CMD_TRACE:=echo -n
-PKG_TRACE:=echo "------> "
-endif
-
-ifeq (${shell [ "$(V)" -ge 10 ] && echo 1},)
-EXTRA_MAKEFLAGS:=-s
-MAKE_TRACE:=2>&1 >&/dev/null || { echo "Build failed. Please re-run make with V=99 to see what's going on"; /bin/false; }
-else
-MAKE_TRACE:=
-EXTRA_MAKEFLAGS:=
-TRACE:=:
-PKG_TRACE:=:
-CMD_TRACE:=:
-START_TRACE:=:
-END_TRACE:=:
-endif
-
 CP=cp -fpR
 MAKE1=make
 MAKEFLAGS=-j$(CONFIG_JLEVEL) V=$(V) $(EXTRA_MAKEFLAGS)
index 24c34036de3334405aa15ef93d0712c80fd58bb1..b039214860e20d94742517eb5d0b3264ae9b5cec 100644 (file)
@@ -20,22 +20,16 @@ linux/package/%:
        $(MAKE) -C $(TOPDIR)/target/linux $(patsubst linux/%,%,$@)
 
 %-clean:
-       @$(TRACE) target/$(patsubst %-clean,%,$@)-clean
        $(MAKE) -C $(patsubst %-clean,%,$@) clean
 %-prepare:
-       @$(TRACE) target/$(patsubst %-prepare,%,$@)-prepare
        $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
 %-compile: %-prepare
-       @$(TRACE) target/$(patsubst %-compile,%,$@)-compile
        $(MAKE) -C $(patsubst %-compile,%,$@) compile
 %-rebuild: 
-       @$(TRACE) target/$(patsubst %-rebuild,%,$@)-rebuild
        $(MAKE) -C $(patsubst %-rebuild,%,$@) rebuild
 %-install: %-compile
-       @$(TRACE) target/$(patsubst %-install,%,$@)-install
        $(MAKE) -C $(patsubst %-install,%,$@) install
 linux-imagebuilder:
-       @$(TRACE) target/linux/imagebuilder
        $(MAKE) -C linux imagebuilder
 
 
index 9f25fd721e73d847fd59443fb6eec841cc3a9448..7922de913410bd306b56da8c95f7b94a3b78ba26 100644 (file)
@@ -9,31 +9,24 @@ IB_DIR:=$(BUILD_DIR)/$(IB_NAME)
 define kernel_template
 
 $(1)/$(2)-clean:
-       @$(TRACE) target/linux/$(2)-$(1)-clean
        $(MAKE) -C $(2)-$(1) BOARD="$(2)" clean
 
 $(1)/$(2)-prepare:
-       @$(TRACE) target/linux/$(2)-$(1)-prepare
        $(MAKE) -C $(2)-$(1) BOARD="$(2)" prepare
 
 $(1)/$(2)-compile:
-       @$(TRACE) target/linux/$(2)-$(1)-compile
        $(MAKE) -C $(2)-$(1) BOARD="$(2)" compile
 
 $(1)/$(2)-rebuild:
-       @$(TRACE) target/linux/$(2)-$(1)-rebuild
        $(MAKE) -C $(2)-$(1) BOARD="$(2)" rebuild
 
 $(1)/$(2)-install:
-       @$(TRACE) target/linux/$(2)-$(1)-install
        $(MAKE) -C $(2)-$(1) BOARD="$(2)" install
 
 $(1)/$(2)-image: $(1)/$(2)-install
-       @$(TRACE) target/linux/image-install
        $(MAKE) -C image KERNEL="$(1)" BOARD="$(2)" install
 
 $(1)/$(2)-install-ib:
-       @$(TRACE) target/linux/image-install-ib
        $(MAKE) -C image KERNEL="$(1)" BOARD="$(2)" IB_DIR="$(IB_DIR)" install-ib
        echo '$$$$(eval $$$$(call image_template,$(2),$(1)))' >> $(IB_DIR)/kernel.mk
 
@@ -76,10 +69,8 @@ install: $(BIN_DIR)/$(IB_NAME).tar.bz2
 endif
 
 prepare:
-       @$(TRACE) target/linux/image-prepare
        $(MAKE) -C image prepare
 compile:
-       @$(TRACE) target/linux/image-compile
        $(MAKE) -C image compile
 install:
 rebuild:
index 6e6551b193d6d9de0e3c0a4f57db8675f5d48bc8..3abb30d48772b6f91912284b521d390454eee9c9 100644 (file)
@@ -10,8 +10,8 @@ include ../generic-$(KERNEL)/modules.mk
 include ../kernel.mk
 
 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
-       [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches $(MAKE_TRACE)
-       [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches $(MAKE_TRACE)
+       [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches
+       [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches
        @$(CP) config $(LINUX_DIR)/.config
        touch $@
 
index 10be12117bce2b9260c5ca5b8f437c3e6cd657dc..207d95d9afeb4384bc718e0dc28d7e2ea05d3ea6 100644 (file)
@@ -31,8 +31,8 @@ include ../kernel.mk
 
 
 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
-       [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches $(MAKE_TRACE)
-       [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches $(MAKE_TRACE)
+       [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches 
+       [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches
        @$(CP) config $(LINUX_DIR)/.config
        touch $@
 
@@ -47,7 +47,7 @@ ATM_FIRMWARE_FILE=$(ATM_FIRMWARE_DIR).tar.gz
 ATM_FIRMWARE_MD5SUM=8bfcb31109796502d66b11baaeb2fba6
 
 $(DL_DIR)/$(ATM_FIRMWARE_FILE):
-       $(SCRIPT_DIR)/download.pl $(DL_DIR) $(ATM_FIRMWARE_FILE) $(ATM_FIRMWARE_MD5SUM) $(DOWNLOAD_SITE) $(MAKE_TRACE)
+       $(SCRIPT_DIR)/download.pl $(DL_DIR) $(ATM_FIRMWARE_FILE) $(ATM_FIRMWARE_MD5SUM) $(DOWNLOAD_SITE)
 
 $(LINUX_DIR)/.unpacked: $(DL_DIR)/$(ATM_FIRMWARE_FILE)
 $(LINUX_DIR)/.depend_done: $(LINUX_DIR)/.drivers-unpacked
index ff84f664ac4912e195f95e48e29d4f257a04a81d..8c1c67d1833fa07a30ec27b7c5a845cd7b5dd007 100644 (file)
@@ -12,13 +12,13 @@ include ../kernel.mk
 
 
 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
-       [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches $(MAKE_TRACE)
-       [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches $(MAKE_TRACE)
+       [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches
+       [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches
        @$(CP) config $(LINUX_DIR)/.config
        touch $@
 
 $(LINUX_BUILD_DIR)/bzImage: $(LINUX_DIR)/vmlinux
-       $(MAKE) -C $(LINUX_DIR) V=1 CROSS_COMPILE=$(TARGET_CROSS) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) bzImage $(MAKE_TRACE)
+       $(MAKE) -C $(LINUX_DIR) V=1 CROSS_COMPILE=$(TARGET_CROSS) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) bzImage
        $(CP) $(LINUX_DIR)/vmlinux $@
        touch $@
 
index 17473be323f20d2937a7ae0a7730e05fb04e243e..06da0ac010f792b6f2e2f47593858ff7aa6d2255 100644 (file)
@@ -28,8 +28,8 @@ include ../kernel.mk
 
 
 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
-       [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches $(MAKE_TRACE)
-       [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches $(MAKE_TRACE)
+       [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches
+       [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches
        @$(CP) config $(LINUX_DIR)/.config
        touch $@
 
@@ -44,7 +44,7 @@ LINUX_BINARY_WL_DRIVER=kernel-binary-wl-0.6.tar.gz
 LINUX_BINARY_WL_MD5SUM=4fc1d5b46bcb7a17d6d5dd31da9c8d7f
 
 $(DL_DIR)/$(LINUX_BINARY_WL_DRIVER):
-       $(SCRIPT_DIR)/download.pl $(DL_DIR) $(LINUX_BINARY_WL_DRIVER) $(LINUX_BINARY_WL_MD5SUM) $(LINUX_BINARY_DRIVER_SITE) $(MAKE_TRACE)
+       $(SCRIPT_DIR)/download.pl $(DL_DIR) $(LINUX_BINARY_WL_DRIVER) $(LINUX_BINARY_WL_MD5SUM) $(LINUX_BINARY_DRIVER_SITE)
        
 $(LINUX_DIR)/.unpacked: $(DL_DIR)/$(LINUX_BINARY_WL_DRIVER)
 $(LINUX_DIR)/.depend_done: $(LINUX_DIR)/.drivers-unpacked
index e64efbf357543aab36d616f426638349c05b833e..af7cd0e8d5755eccd5028655ce78192162d0c48c 100644 (file)
@@ -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
index c7d4335d8c04149373af680249ab6f6be7321d6b..1b0c3a778f3929b3f6bdb651c8ff296ae4f10d5a 100644 (file)
@@ -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
index 0b39aa1611cc66da2e6967815433387bf8780ee2..29ce5522d51759785293b00f84a5f309c89a2e34 100644 (file)
@@ -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
index 56817dbab87fb76922bd769dfdfda2dd0c0f0daf..00ff102d5839bb34dc048198987f5712a3a005e2 100644 (file)
@@ -13,7 +13,7 @@ $(PACKAGE_DIR):
        
 $(DL_DIR)/$(LINUX_SOURCE):
        -mkdir -p $(DL_DIR)
-       $(SCRIPT_DIR)/download.pl $(DL_DIR) $(LINUX_SOURCE) $(LINUX_KERNEL_MD5SUM) $(LINUX_SITE) $(MAKE_TRACE)
+       $(SCRIPT_DIR)/download.pl $(DL_DIR) $(LINUX_SOURCE) $(LINUX_KERNEL_MD5SUM) $(LINUX_SITE)
 
 $(LINUX_DIR)/.unpacked: $(DL_DIR)/$(LINUX_SOURCE)
        -mkdir -p $(LINUX_BUILD_DIR)
@@ -28,37 +28,36 @@ $(LINUX_DIR)/.configured: $(LINUX_DIR)/.patched
          $(LINUX_DIR)/Makefile  \
          $(LINUX_DIR)/arch/*/Makefile
        $(SED) "s,\-mcpu=,\-mtune=,g;" $(LINUX_DIR)/arch/mips/Makefile
-       $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_KARCH) oldconfig include/linux/compile.h include/linux/version.h $(MAKE_TRACE)
+       $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_KARCH) oldconfig include/linux/compile.h include/linux/version.h
        touch $@
 
 $(LINUX_DIR)/.depend_done: $(LINUX_DIR)/.configured
-       $(MAKE) -C $(LINUX_DIR) CROSS_COMPILE="$(KERNEL_CROSS)" ARCH=$(LINUX_KARCH) dep $(MAKE_TRACE)
+       $(MAKE) -C $(LINUX_DIR) CROSS_COMPILE="$(KERNEL_CROSS)" ARCH=$(LINUX_KARCH) dep
        touch $@
 
 $(LINUX_DIR)/vmlinux: $(LINUX_DIR)/.depend_done
 else
 $(LINUX_DIR)/.configured: $(LINUX_DIR)/.patched
-       $(MAKE) -C $(LINUX_DIR) CROSS_COMPILE="$(KERNEL_CROSS)" ARCH=$(LINUX_KARCH) oldconfig prepare scripts $(MAKE_TRACE)
+       $(MAKE) -C $(LINUX_DIR) CROSS_COMPILE="$(KERNEL_CROSS)" ARCH=$(LINUX_KARCH) oldconfig prepare scripts
        touch $@
 endif
 
 $(LINUX_DIR)/vmlinux: $(STAMP_DIR)/.linux-compile
-       $(MAKE) -C $(LINUX_DIR) CROSS_COMPILE="$(KERNEL_CROSS)" ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) $(MAKE_TRACE)
+       $(MAKE) -C $(LINUX_DIR) CROSS_COMPILE="$(KERNEL_CROSS)" ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH)
 
 $(LINUX_KERNEL): $(LINUX_DIR)/vmlinux
-       $(TARGET_CROSS)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S $< $@ $(MAKE_TRACE)
+       $(TARGET_CROSS)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S $< $@
        touch -c $(LINUX_KERNEL)
 
 $(LINUX_DIR)/.modules_done:
        rm -rf $(LINUX_BUILD_DIR)/modules
-       $(MAKE) -C "$(LINUX_DIR)" CROSS_COMPILE="$(KERNEL_CROSS)" ARCH=$(LINUX_KARCH) PATH="$(TARGET_PATH)" modules $(MAKE_TRACE)
-       $(MAKE) -C "$(LINUX_DIR)" CROSS_COMPILE="$(KERNEL_CROSS)" DEPMOD=true INSTALL_MOD_PATH=$(LINUX_BUILD_DIR)/modules modules_install $(MAKE_TRACE)
+       $(MAKE) -C "$(LINUX_DIR)" CROSS_COMPILE="$(KERNEL_CROSS)" ARCH=$(LINUX_KARCH) PATH="$(TARGET_PATH)" modules
+       $(MAKE) -C "$(LINUX_DIR)" CROSS_COMPILE="$(KERNEL_CROSS)" DEPMOD=true INSTALL_MOD_PATH=$(LINUX_BUILD_DIR)/modules modules_install
        touch $(LINUX_DIR)/.modules_done
 
 $(STAMP_DIR)/.linux-compile:
-       @$(MAKE) $(LINUX_DIR)/.modules_done $(TARGETS) $(KERNEL_IPKG) $(MAKE_TRACE)
-       ln -sf $(LINUX_BUILD_DIR)/linux-$(LINUX_VERSION) $(BUILD_DIR)/linux $(MAKE_TRACE)
-       @$(TRACE) target/linux/package-compile
+       @$(MAKE) $(LINUX_DIR)/.modules_done $(TARGETS) $(KERNEL_IPKG)
+       ln -sf $(LINUX_BUILD_DIR)/linux-$(LINUX_VERSION) $(BUILD_DIR)/linux
        $(MAKE) -C $(TOPDIR)/target/linux/package \
                $(KPKG_MAKEOPTS) \
                compile
@@ -73,7 +72,7 @@ pkg-install:
        $(MAKE) -C $(TOPDIR)/target/linux/package \
                $(KPKG_MAKEOPTS) \
                install
-       @{ [ "$(INSTALL_TARGETS)" != "" ] && $(IPKG_KERNEL) install $(INSTALL_TARGETS) || true; } $(MAKE_TRACE) 
+       [ "$(INSTALL_TARGETS)" != "" ] && $(IPKG_KERNEL) install $(INSTALL_TARGETS)
 
 $(KERNEL_IPKG):
        rm -rf $(KERNEL_IDIR)
@@ -82,33 +81,30 @@ $(KERNEL_IPKG):
        if [ -f ./config/$(BOARD).modules ]; then \
                cp ./config/$(BOARD).modules $(KERNEL_IDIR)/etc/modules; \
        fi
-       $(IPKG_BUILD) $(KERNEL_IDIR) $(LINUX_BUILD_DIR) $(MAKE_TRACE)
+       $(IPKG_BUILD) $(KERNEL_IDIR) $(LINUX_BUILD_DIR)
 
 source: $(DL_DIR)/$(LINUX_SOURCE)
 prepare: 
        @mkdir -p $(STAMP_DIR) $(PACKAGE_DIR)
-       @$(MAKE) $(LINUX_DIR)/.configured $(MAKE_TRACE)
+       @$(MAKE) $(LINUX_DIR)/.configured
 
 compile: prepare $(STAMP_DIR)/.linux-compile
 
 install: compile
-       @$(TRACE) target/linux/package-install
-       $(MAKE) $(KPKG_MAKEOPTS) pkg-install $(MAKE_TRACE)
-       $(MAKE) $(KPKG_MAKEOPTS) $(LINUX_KERNEL) $(MAKE_TRACE)
+       $(MAKE) $(KPKG_MAKEOPTS) pkg-install
+       $(MAKE) $(KPKG_MAKEOPTS) $(LINUX_KERNEL)
 
 mostlyclean:
        rm -f $(STAMP_DIR)/.linux-compile
        rm -f $(LINUX_BUILD_DIR)/linux-$(LINUX_VERSION)/.modules_done
        rm -f $(LINUX_BUILD_DIR)/linux-$(LINUX_VERSION)/.drivers-unpacked
-       $(MAKE) -C $(LINUX_BUILD_DIR)/linux-$(LINUX_VERSION) clean $(MAKE_TRACE)
+       $(MAKE) -C $(LINUX_BUILD_DIR)/linux-$(LINUX_VERSION) clean
        rm -f $(LINUX_KERNEL)
 
 rebuild:
        -$(MAKE) mostlyclean
-       if [ -f $(LINUX_KERNEL) ]; then \
-               $(MAKE) clean $(MAKE_TRACE); \
-       fi
-       $(MAKE) compile $(MAKE_TRACE)
+       @[ -f $(LINUX_KERNEL) ] && $(MAKE) clean
+       $(MAKE) compile
 
 clean:
        rm -f $(STAMP_DIR)/.linux-compile
index 09a50e76d8246a82bfa14eb77a7c4af5a3510eb8..45211c1c8b044c0379fafa4c2020d8072d7a22ce 100644 (file)
@@ -32,34 +32,22 @@ install: $(patsubst %,%-install,$(package-y))
 KPKG_MAKEOPTS += BUILD_DIR="$(LINUX_BUILD_DIR)"
 
 %-prepare:
-       @$(START_TRACE) "target/linux/package/$(patsubst %-prepare,%,$@)/prepare: "
        $(MAKE) -C $(patsubst %-prepare,%,$@) \
                $(KPKG_MAKEOPTS) \
                prepare
-       @$(CMD_TRACE) " done"
-       @$(END_TRACE)
 
 %-compile:
-       @$(START_TRACE) "target/linux/package/$(patsubst %-compile,%,$@)-compile: "
        $(MAKE) -C $(patsubst %-compile,%,$@) \
                $(KPKG_MAKEOPTS) \
                compile
-       @$(CMD_TRACE) " done"
-       @$(END_TRACE)
 
 %-install:
-       @$(START_TRACE) "target/linux/package/$(patsubst %-install,%,$@)-install: "
        $(MAKE) -C $(patsubst %-install,%,$@) \
                $(KPKG_MAKEOPTS) \
                install
-       @$(CMD_TRACE) " done"
-       @$(END_TRACE)
 
 %-clean:
-       @$(START_TRACE) "target/linux/package/$(patsubst %-clean,%,$@)-clean: "
        @$(MAKE) -C $(patsubst %-clean,%,$@) \
                $(KPKG_MAKEOPTS) \
                clean
-       @$(CMD_TRACE) " done"
-       @$(END_TRACE)
 
index f0f2e72dbbae89e6ffcbb211ed28f3d233a7da5f..1ebe28b6ac5b75e56621724aea84700898af22a7 100644 (file)
@@ -77,7 +77,7 @@ ifneq ($(6),)
        done
 endif
        $(8)
-       $(IPKG_BUILD) $$(I_$(1)) $(PACKAGE_DIR) $(MAKE_TRACE)
+       $(IPKG_BUILD) $$(I_$(1)) $(PACKAGE_DIR)
 
 endef
 
index 5f20f1e406aa6b96135e73039755da0f41c956b8..bcc8bd05d286270338f537b592620b8a57e71226 100644 (file)
@@ -17,13 +17,13 @@ include ../kernel.mk
 
 
 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
-       [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches $(MAKE_TRACE)
-       [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches $(MAKE_TRACE)
+       [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches
+       [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches
        @$(CP) config $(LINUX_DIR)/.config
        touch $@
 
 $(LINUX_BUILD_DIR)/bzImage: $(LINUX_DIR)/vmlinux
-       $(MAKE) -C $(LINUX_DIR) TOPDIR=$(LINUX_DIR) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) bzImage $(MAKE_TRACE)
+       $(MAKE) -C $(LINUX_DIR) TOPDIR=$(LINUX_DIR) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) bzImage
        $(CP) $(LINUX_DIR)/arch/i386/boot/bzImage $@
        touch $@
 
index d7be454c6567c223e457679e1ece7541a8c63951..48417d20c84e7b71ab60cf325af4ea3a30ec83e1 100644 (file)
@@ -12,13 +12,13 @@ include ../kernel.mk
 
 
 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
-       [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches $(MAKE_TRACE)
-       [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches $(MAKE_TRACE)
+       [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches
+       [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches
        @$(CP) config $(LINUX_DIR)/.config
        touch $@
 
 $(LINUX_BUILD_DIR)/bzImage: $(LINUX_DIR)/vmlinux
-       $(MAKE) -C $(LINUX_DIR) V=1 CROSS_COMPILE=$(TARGET_CROSS) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) bzImage $(MAKE_TRACE)
+       $(MAKE) -C $(LINUX_DIR) V=1 CROSS_COMPILE=$(TARGET_CROSS) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) bzImage
        $(CP) $(LINUX_DIR)/arch/i386/boot/bzImage $@
        touch $@
 
index 0225844d308609f380562600180d4cfd4943f066..d68a5d4b7935e545657ec4287d557f3af3c0dc92 100644 (file)
@@ -17,18 +17,18 @@ LZMA_ALONE_DIR=$(LZMA_DIR)/C/7zip/Compress/LZMA_Alone
 TARGETS=$(LZMA_LIB_DIR)/liblzma.a $(LZMA_ALONE_DIR)/lzma
 
 $(DL_DIR)/$(LZMA_SOURCE):
-       $(SCRIPT_DIR)/download.pl $(DL_DIR) $(LZMA_SOURCE) $(LZMA_MD5) $(LZMA_SITE) $(MAKE_TRACE)
+       $(SCRIPT_DIR)/download.pl $(DL_DIR) $(LZMA_SOURCE) $(LZMA_MD5) $(LZMA_SITE)
 
 $(LZMA_DIR)/.unpacked: $(DL_DIR)/$(LZMA_SOURCE) 
        @rm -rf $(LZMA_DIR) && mkdir -p $(LZMA_DIR)
        tar xjf $^ -C $(LZMA_DIR)
-       patch -d $(LZMA_DIR) -p1 < lzma-zlib.patch $(MAKE_TRACE)
+       patch -d $(LZMA_DIR) -p1 < lzma-zlib.patch
        touch $(LZMA_DIR)/.unpacked
        
 $(LZMA_ALONE_DIR)/lzma $(LZMA_LIB_DIR)/liblzma.a: $(LZMA_DIR)/.built
 $(LZMA_DIR)/.built: $(LZMA_DIR)/.unpacked
-       $(MAKE) -C $(LZMA_LIB_DIR) $(MAKE_TRACE)
-       $(MAKE) -f makefile.gcc -C $(LZMA_ALONE_DIR) $(MAKE_TRACE)
+       $(MAKE) -C $(LZMA_LIB_DIR)
+       $(MAKE) -f makefile.gcc -C $(LZMA_ALONE_DIR)
        touch $@
 
 lzma: $(TARGETS)
@@ -37,8 +37,8 @@ lzma: $(TARGETS)
 lzma-source: $(DL_DIR)/$(LZMA_SOURCE)
 
 lzma-clean:
-       -$(MAKE) -C $(LZMA_LIB_DIR) clean $(MAKE_TRACE)
-       -$(MAKE) -C $(LZMA_ALONE_DIR) clean $(MAKE_TRACE)
+       -$(MAKE) -C $(LZMA_LIB_DIR) clean
+       -$(MAKE) -C $(LZMA_ALONE_DIR) clean
        rm -f $(LZMA_DIR)/liblzma.a $(LZMA_DIR)/lzma
 
 lzma-dirclean: