summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorralph <ralph@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-20 10:32:45 +0000
committerralph <ralph@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-20 10:32:45 +0000
commitfa4f228586b1563713b4feb8dc8428271346cedf (patch)
treef8aef4d22efb2ac52f1d1e19c0a1250c7181aafd
parentf01be5de099d646c96bb5c0303c823fbe6d9d2cb (diff)
avoid kernel version in target if sub-targets available
(usefull if we have 2.4 and 2.6 sub-targets in parallel) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14576 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/target.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/target.mk b/include/target.mk
index 7351794dc..ee373aa19 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -154,7 +154,7 @@ define BuildTargets/DumpCurrent
@echo 'Target: $(TARGETID)'; \
echo 'Target-Board: $(BOARD)'; \
echo 'Target-Kernel: $(KERNEL)'; \
- echo 'Target-Name: $(BOARDNAME)$(if $(SUBTARGET),, [$(KERNEL)])'; \
+ echo 'Target-Name: $(BOARDNAME)$(if $(SUBTARGETS),, [$(KERNEL)])$(if $(SUBTARGETS),$(if $(SUBTARGET), [$(KERNEL)]))'; \
echo 'Target-Path: $(subst $(TOPDIR)/,,$(PWD))'; \
echo 'Target-Arch: $(ARCH)'; \
echo 'Target-Features: $(FEATURES)'; \