summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-14 01:57:24 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-14 01:57:24 +0000
commitaaa50eba442636926d53f6dc454b9b2ed751c098 (patch)
treeef351f7585aaec5e62e2d55c473413f6e14cd503 /target/linux
parentddce7104e018b19d9ee7d9ad422e065ba13403fb (diff)
fix trace targets to actually display correct target names
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2970 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/Makefile18
-rw-r--r--target/linux/image/Makefile6
-rw-r--r--target/linux/kernel.mk4
3 files changed, 14 insertions, 14 deletions
diff --git a/target/linux/Makefile b/target/linux/Makefile
index 8a2eb7333e..2fff3b33af 100644
--- a/target/linux/Makefile
+++ b/target/linux/Makefile
@@ -9,31 +9,31 @@ IB_DIR:=$(BUILD_DIR)/$(IB_NAME)
define kernel_template
$(1)/$(2)-clean:
- @$(TRACE) target/linux/$(2)-$(1)/clean
+ @$(TRACE) target/linux/$(2)-$(1)-clean
$(MAKE) -C $(2)-$(1) BOARD="$(2)" clean
$(1)/$(2)-prepare:
- @$(TRACE) target/linux/$(2)-$(1)/prepare
+ @$(TRACE) target/linux/$(2)-$(1)-prepare
$(MAKE) -C $(2)-$(1) BOARD="$(2)" prepare
$(1)/$(2)-compile:
- @$(TRACE) target/linux/$(2)-$(1)/compile
+ @$(TRACE) target/linux/$(2)-$(1)-compile
$(MAKE) -C $(2)-$(1) BOARD="$(2)" compile
$(1)/$(2)-rebuild:
- @$(TRACE) target/linux/$(2)-$(1)/rebuild
+ @$(TRACE) target/linux/$(2)-$(1)-rebuild
$(MAKE) -C $(2)-$(1) BOARD="$(2)" rebuild
$(1)/$(2)-install:
- @$(TRACE) target/linux/$(2)-$(1)/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
+ @$(TRACE) target/linux/image-install
$(MAKE) -C image KERNEL="$(1)" BOARD="$(2)" install
$(1)/$(2)-install-ib:
- @$(TRACE) target/linux/image/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
@@ -74,10 +74,10 @@ install: $(BIN_DIR)/$(IB_NAME).tar.bz2
endif
prepare:
- @$(TRACE) target/linux/image/prepare
+ @$(TRACE) target/linux/image-prepare
$(MAKE) -C image prepare
compile:
- @$(TRACE) target/linux/image/compile
+ @$(TRACE) target/linux/image-compile
$(MAKE) -C image compile
install:
rebuild:
diff --git a/target/linux/image/Makefile b/target/linux/image/Makefile
index 2018a8e671..7c65b6e3e1 100644
--- a/target/linux/image/Makefile
+++ b/target/linux/image/Makefile
@@ -24,13 +24,13 @@ install:
.PHONY: prepare compile install
$(BOARD)-compile:
- @$(TRACE) target/linux/image/$(BOARD)/prepare
+ @$(TRACE) target/linux/image/$(BOARD)-prepare
$(MAKE) -C $(BOARD) prepare
- @$(TRACE) target/linux/image/$(BOARD)/compile
+ @$(TRACE) target/linux/image/$(BOARD)-compile
$(MAKE) -C $(BOARD) compile
install-ib:
- @$(TRACE) target/linux/image/$(BOARD)/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/target/linux/kernel.mk b/target/linux/kernel.mk
index 8cc22cf70e..b1ac9473c7 100644
--- a/target/linux/kernel.mk
+++ b/target/linux/kernel.mk
@@ -58,7 +58,7 @@ $(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
+ @$(TRACE) target/linux/package-compile
$(MAKE) -C $(TOPDIR)/target/linux/package \
$(KPKG_MAKEOPTS) \
compile
@@ -92,7 +92,7 @@ prepare:
compile: prepare $(STAMP_DIR)/.linux-compile
install: compile
- @$(TRACE) target/linux/package/install
+ @$(TRACE) target/linux/package-install
$(MAKE) $(KPKG_MAKEOPTS) pkg-install $(MAKE_TRACE)
$(MAKE) $(KPKG_MAKEOPTS) $(LINUX_KERNEL) $(MAKE_TRACE)