aboutsummaryrefslogtreecommitdiffstats
path: root/include/target.mk
diff options
context:
space:
mode:
authorRalph Hempel <ralph.hempel@lantiq.com>2009-02-20 10:32:45 +0000
committerRalph Hempel <ralph.hempel@lantiq.com>2009-02-20 10:32:45 +0000
commit9ed7e7785142bf32de08d19cbf45df958b845c7d (patch)
treef8aef4d22efb2ac52f1d1e19c0a1250c7181aafd /include/target.mk
parent35d2021ca96c0590c99b8071606ad9f44eb54d50 (diff)
downloadupstream-9ed7e7785142bf32de08d19cbf45df958b845c7d.tar.gz
upstream-9ed7e7785142bf32de08d19cbf45df958b845c7d.tar.bz2
upstream-9ed7e7785142bf32de08d19cbf45df958b845c7d.zip
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
Diffstat (limited to 'include/target.mk')
-rw-r--r--include/target.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/target.mk b/include/target.mk
index 7351794dce..ee373aa19e 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)'; \