diff options
author | Phil Blundell <philb@gnu.org> | 2005-03-09 17:36:40 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2005-03-09 17:36:40 +0000 |
commit | eccdf92b20e5fcc8784a1061613d7ea2014ef8fa (patch) | |
tree | c59bbff065a9ad7e038cd8417108db31ec3c490f /classes | |
parent | e64723d8ff9e6128e47c07883fdbcb7d6a80d07d (diff) |
apply patch from Graeme Gregory to remove spurious "-native" in binconfig filenames
BKrev: 422f3428NXWAO6eGMfNOYUsLoCGRlg
Diffstat (limited to 'classes')
-rw-r--r-- | classes/binconfig.bbclass | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/classes/binconfig.bbclass b/classes/binconfig.bbclass index 866d689896..cfc444cf26 100644 --- a/classes/binconfig.bbclass +++ b/classes/binconfig.bbclass @@ -17,13 +17,9 @@ def get_binconfig_mangle(d): s += " -e 's:OEEXECPREFIX:${STAGING_LIBDIR}/..:'" return s -def is_native(d): - import bb.data - return ["","-native"][bb.data.inherits_class('native', d)] - do_stage_append() { for config in `find ${S} -name '*-config'`; do - configname=`basename $config`${@is_native(d)} + configname=`basename $config` install -d ${STAGING_BINDIR}/${HOST_SYS} cat $config | sed ${@get_binconfig_mangle(d)} > ${STAGING_BINDIR}/${HOST_SYS}/$configname chmod u+x ${STAGING_BINDIR}/${HOST_SYS}/$configname |