summaryrefslogtreecommitdiffstats
path: root/meta/classes/pkgconfig.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-06-12 16:02:13 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-06-12 16:02:13 +0100
commit1247e2bba2aa28fac497379b086442babc6c7923 (patch)
tree5ceade446988c6eed72ab9b3551ae635d8d5d55d /meta/classes/pkgconfig.bbclass
parent5d09a6bd93085f07937da21e1b40c95e94bd3c15 (diff)
downloadpoky-1247e2bba2aa28fac497379b086442babc6c7923.tar.gz
pkgconfig.bbclass: Split out the staging function into its own class (pkgconfig_stage)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/pkgconfig.bbclass')
-rw-r--r--meta/classes/pkgconfig.bbclass8
1 files changed, 1 insertions, 7 deletions
diff --git a/meta/classes/pkgconfig.bbclass b/meta/classes/pkgconfig.bbclass
index 22a9cd0072..84dad76ae2 100644
--- a/meta/classes/pkgconfig.bbclass
+++ b/meta/classes/pkgconfig.bbclass
@@ -1,9 +1,3 @@
1DEPENDS_prepend = "pkgconfig-native " 1DEPENDS_prepend = "pkgconfig-native "
2 2
3do_stage_append () { 3inherit pkconfig_stage
4 install -d ${PKG_CONFIG_DIR}
5 for pc in `find ${S} -name '*.pc' -type f | grep -v -- '-uninstalled.pc$'`; do
6 pcname=`basename $pc`
7 cat $pc > ${PKG_CONFIG_DIR}/$pcname
8 done
9}