target.mk: remove the unused Target-Path field
authorFelix Fietkau <nbd@nbd.name>
Mon, 9 May 2016 16:32:47 +0000 (18:32 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 11 May 2016 17:03:35 +0000 (19:03 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/target.mk
scripts/metadata.pm

index 851ce3e4a2eaa2145ded66bb1d90dbbf4e9818f7..f7284d0eb5f78eca82e2ca45cab2e11097248ee8 100644 (file)
@@ -279,7 +279,6 @@ define BuildTargets/DumpCurrent
        @echo 'Target: $(TARGETID)'; \
         echo 'Target-Board: $(BOARD)'; \
         echo 'Target-Name: $(BOARDNAME)$(if $(SUBTARGETS),$(if $(SUBTARGET),))'; \
-        echo 'Target-Path: $(subst $(TOPDIR)/,,$(PWD))'; \
         echo 'Target-Arch: $(ARCH)'; \
         echo 'Target-Arch-Packages: $(if $(ARCH_PACKAGES),$(ARCH_PACKAGES),$(ARCH)$(if $(CPU_TYPE),_$(CPU_TYPE))$(if $(CPU_SUBTYPE),_$(CPU_SUBTYPE)))'; \
         echo 'Target-Features: $(FEATURES)'; \
index 6b10637bab54a3c442cd551f43128a5644a562d2..1891c0a6ee88353dd7225707c8e0ba62a1efa360 100644 (file)
@@ -68,7 +68,6 @@ sub parse_target_metadata($) {
                        }
                };
                /^Target-Name:\s*(.+)\s*$/ and $target->{name} = $1;
-               /^Target-Path:\s*(.+)\s*$/ and $target->{path} = $1;
                /^Target-Arch:\s*(.+)\s*$/ and $target->{arch} = $1;
                /^Target-Arch-Packages:\s*(.+)\s*$/ and $target->{arch_packages} = $1;
                /^Target-Features:\s*(.+)\s*$/ and $target->{features} = [ split(/\s+/, $1) ];