diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-02 17:27:05 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-13 12:15:22 +0000 |
commit | 7c975383279291a314e95301e8cf2a4ead17c856 (patch) | |
tree | c6d258c48f51ecc647692117548b4549f8aa6adb /meta/classes/binconfig.bbclass | |
parent | 6ea78d648951e5bbe9669412c0863daaf7f49ca5 (diff) | |
download | poky-7c975383279291a314e95301e8cf2a4ead17c856.tar.gz |
binconfig/pkgconfig.bbclass: Convert staging functions into SYSROOT_PREPROCESS_FUNCS operating on SYSROOT_DESTDIR
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/binconfig.bbclass')
-rw-r--r-- | meta/classes/binconfig.bbclass | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass index 55a0b039f2..31e5cc5172 100644 --- a/meta/classes/binconfig.bbclass +++ b/meta/classes/binconfig.bbclass | |||
@@ -43,11 +43,13 @@ binconfig_package_preprocess () { | |||
43 | done | 43 | done |
44 | } | 44 | } |
45 | 45 | ||
46 | do_stage_append() { | 46 | SYSROOT_PREPROCESS_FUNCS += "binconfig_sysroot_preprocess" |
47 | |||
48 | binconfig_sysroot_preprocess () { | ||
47 | for config in `find ${S} -name '${BINCONFIG_GLOB}'`; do | 49 | for config in `find ${S} -name '${BINCONFIG_GLOB}'`; do |
48 | configname=`basename $config` | 50 | configname=`basename $config` |
49 | install -d ${STAGING_BINDIR_CROSS} | 51 | install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS} |
50 | cat $config | sed ${@get_binconfig_mangle(d)} > ${STAGING_BINDIR_CROSS}/$configname | 52 | cat $config | sed ${@get_binconfig_mangle(d)} > ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/$configname |
51 | chmod u+x ${STAGING_BINDIR_CROSS}/$configname | 53 | chmod u+x ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/$configname |
52 | done | 54 | done |
53 | } | 55 | } |