Browse Source

avoid kernel version in target if sub-targets available (usefull if we have 2.4 and 2.6 sub-targets in parallel)

SVN-Revision: 14576
Ralph Hempel 17 years ago
parent
commit
3d0285a783
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/target.mk

+ 1 - 1
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)'; \