diff options
author | sjg <sjg@FreeBSD.org> | 2013-03-22 01:35:08 +0000 |
---|---|---|
committer | sjg <sjg@FreeBSD.org> | 2013-03-22 01:35:08 +0000 |
commit | 5ee3bfdb338e7c80af29a67f4425c4be24c7b866 (patch) | |
tree | 6bbf47abdcad691beb8b7941d1ca19a91ad1b1a5 | |
parent | 6a9c15e3cc71f9ea2382e7092ed421c8b0369605 (diff) | |
download | FreeBSD-src-5ee3bfdb338e7c80af29a67f4425c4be24c7b866.zip FreeBSD-src-5ee3bfdb338e7c80af29a67f4425c4be24c7b866.tar.gz |
sync latest meta2deps
-rwxr-xr-x | share/mk/meta2deps.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/share/mk/meta2deps.py b/share/mk/meta2deps.py index a7af98a..82a3d61 100755 --- a/share/mk/meta2deps.py +++ b/share/mk/meta2deps.py @@ -35,7 +35,7 @@ We only pay attention to a subset of the information in the """ RCSid: - $Id: meta2deps.py,v 1.8 2013/02/10 19:21:46 sjg Exp $ + $Id: meta2deps.py,v 1.10 2013/03/17 03:10:09 sjg Exp $ Copyright (c) 2011-2013, Juniper Networks, Inc. All rights reserved. @@ -150,6 +150,7 @@ class MetaFile: MACHINE the machine we built for. set to 'none' if we are not cross-building. + More specifically if machine cannot be deduced from objdirs. HOST_TARGET when we build for the psuedo machine 'host' @@ -176,6 +177,9 @@ class MetaFile: self.debug_out = getv(conf, 'debug_out', sys.stderr) self.machine = getv(conf, 'MACHINE', '') + self.curdir = getv(conf, 'CURDIR') + self.reldir = getv(conf, 'RELDIR') + self.dpdeps = getv(conf, 'DPDEPS') if not self.conf: # some of the steps below we want to do only once @@ -221,9 +225,6 @@ class MetaFile: self.dirdep_re = re.compile(r'([^/]+)/(.+)') - self.curdir = getv(conf, 'CURDIR') - self.reldir = getv(conf, 'RELDIR') - self.dpdeps = getv(conf, 'DPDEPS') if self.dpdeps and not self.reldir: if self.debug: print >> self.debug_out, "need reldir:", |