diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-04-20 11:47:44 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-04-23 13:52:30 +0200 |
commit | 25c4841321880dad495baf8376a61463d087db4c (patch) | |
tree | a75fd250d32b4546a91a4bea9305426593653e3f /scripts/lib/ptxd_lib_dgen.awk | |
parent | 8c2eeee753597e919dffc5254dad54e9ec6f8947 (diff) | |
download | ptxdist-25c4841321880dad495baf8376a61463d087db4c.tar.gz ptxdist-25c4841321880dad495baf8376a61463d087db4c.tar.xz |
[install] install host/cross packages to pkgdir by default
define *_SYSROOT for use by others
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_lib_dgen.awk')
-rw-r--r-- | scripts/lib/ptxd_lib_dgen.awk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk index ca6670d4a..f49af9eef 100644 --- a/scripts/lib/ptxd_lib_dgen.awk +++ b/scripts/lib/ptxd_lib_dgen.awk @@ -251,8 +251,12 @@ function import_PKG(this_PKG, this_pkg) { print this_PKG "_DIR = $(" this_PKG_type \ "BUILDDIR)/$(" target_PKG ")" > DGEN_DEPS_PRE; if (this_pkg ~ /^host-/) { + print this_PKG "_PKGDIR = $(PKGDIR)/host-$(" \ + this_PKG ")" > DGEN_DEPS_PRE; print this_PKG "_DEVPKG = host-" this_devpkg > DGEN_DEPS_PRE; } else if (this_pkg ~ /^cross-/) { + print this_PKG "_PKGDIR = $(PKGDIR)/cross-$(" \ + this_PKG ")" > DGEN_DEPS_PRE; print this_PKG "_DEVPKG = cross-" this_devpkg > DGEN_DEPS_PRE; } } |