summaryrefslogtreecommitdiff
path: root/classes/binconfig.bbclass
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2005-03-09 17:36:40 +0000
committerPhil Blundell <philb@gnu.org>2005-03-09 17:36:40 +0000
commiteccdf92b20e5fcc8784a1061613d7ea2014ef8fa (patch)
treec59bbff065a9ad7e038cd8417108db31ec3c490f /classes/binconfig.bbclass
parente64723d8ff9e6128e47c07883fdbcb7d6a80d07d (diff)
apply patch from Graeme Gregory to remove spurious "-native" in binconfig filenames
BKrev: 422f3428NXWAO6eGMfNOYUsLoCGRlg
Diffstat (limited to 'classes/binconfig.bbclass')
-rw-r--r--classes/binconfig.bbclass6
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