diff options
author | Chris Larson <clarson@kergoth.com> | 2004-11-09 00:27:17 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-11-09 00:27:17 +0000 |
commit | b6588aa6851fb220cedc387d21c51513ef8d67f4 (patch) | |
tree | e5b76b63275756b507bd5b08238022fed63c5c9d /classes | |
parent | dbbcbe33ce88fdcf1b3379750fe58d0d32fd16b2 (diff) |
Add a hack to the ccdv.oeclass that overrides the LIBTOOL variable in builds to make libtool get called with --silent.
BKrev: 41900ee5MQ6fKzr2fXAb_ZFH8eYD6g
Diffstat (limited to 'classes')
-rw-r--r-- | classes/ccdv.oeclass | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/classes/ccdv.oeclass b/classes/ccdv.oeclass index 7fd814b451..6ebc7bf0c2 100644 --- a/classes/ccdv.oeclass +++ b/classes/ccdv.oeclass @@ -1,6 +1,16 @@ DEPENDS =+ "ccdv-native" -MAKE += "-s" CCDV = "ccdv" CC =+ "${CCDV}" BUILD_CC =+ "${CCDV}" CCLD =+ "${CCDV}" + +def quiet_libtool(oe,d): + deps = (oe.data.getVar('DEPENDS', d, 1) or "").split() + if 'libtool-cross' in deps: + return "'LIBTOOL=${STAGING_BINDIR}/${HOST_SYS}-libtool --silent'" + elif 'libtool-native' in deps: + return "'LIBTOOL=${B}/${HOST_SYS}-libtool --silent'" + else: + return "" +EXTRA_OEMAKE_append = " ${@quiet_libtool(oe,d)}" +MAKE += "-s" |