summaryrefslogtreecommitdiff
path: root/packages/meta
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2005-07-22 23:48:46 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-22 23:48:46 +0000
commit4f5e62451f9d7bdbbfff7e3b37afdf84e80a564c (patch)
tree707212f2f7587b2978fbb76388037182f7793688 /packages/meta
parentbb93bdf4d67da4286ca0ee5e27c13ba5fd920894 (diff)
Add some bits to fixup some rough edges in the SDK filesystem:
- Remove broken *.la files. - Fix pathes in *.pc files.
Diffstat (limited to 'packages/meta')
-rw-r--r--packages/meta/meta-sdk.bb19
1 files changed, 15 insertions, 4 deletions
diff --git a/packages/meta/meta-sdk.bb b/packages/meta/meta-sdk.bb
index 962572d546..565988763b 100644
--- a/packages/meta/meta-sdk.bb
+++ b/packages/meta/meta-sdk.bb
@@ -1,7 +1,7 @@
-PR = "r3"
-
+PR = "r4"
+LICENSE = MIT
DEPENDS = "ipkg-native ipkg-utils-native binutils-cross-sdk gcc-cross-sdk gdb-cross fakeroot-native meta-gpe"
-DEPENDS += "libidl libsvg-cairo"
+DEPENDS += "libidl libsvg-cairo sed-native"
PACKAGES = ""
@@ -153,6 +153,18 @@ EOF
# remove unwanted executables
rm -rf ${SDK_OUTPUT}/${prefix}/sbin ${SDK_OUTPUT}/${prefix}/etc
+ # remove broken .la files
+ rm ${SDK_OUTPUT}/${prefix}/arm-linux/lib/*.la
+
+ # fix pkgconfig data files
+ cd ${SDK_OUTPUT}/${prefix}/arm-linux/lib/pkgconfig
+ for f in *.pc ; do
+ sed -i 's%=/usr%=${prefix}/arm-linux%g' "$f"
+ done
+ for f in *.pc ; do
+ sed -i 's%${STAGING_DIR}%/usr/local/arm/oe%g' "$f"
+ done
+
mkdir -p ${SDK_DEPLOY}
cd ${SDK_OUTPUT}
fakeroot tar cfj ${SDK_DEPLOY}/oe-sdk-$(date +"%Y%m%d%H%M%S").tar.bz2 .
@@ -160,4 +172,3 @@ EOF
do_populate_sdk[nostamp] = 1
addtask populate_sdk before do_build after do_install
-LICENSE = MIT