avoid kernel version in target if sub-targets available (usefull if we have 2.4 and...
authorRalph Hempel <ralph.hempel@lantiq.com>
Fri, 20 Feb 2009 10:32:45 +0000 (10:32 +0000)
committerRalph Hempel <ralph.hempel@lantiq.com>
Fri, 20 Feb 2009 10:32:45 +0000 (10:32 +0000)
SVN-Revision: 14576

include/target.mk

index 7351794..ee373aa 100644 (file)
@@ -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)'; \