aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-02-02 00:17:30 -0800
committerSaul Wold <sgw@linux.intel.com>2012-02-07 15:06:04 -0800
commit5d2c0b051072b3cee510dcad8d20fb26d3843f62 (patch)
tree5b4831bd683787db073d210719ae931f7c588519 /meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb
parentc8a9ae7c047051958b8667e77288c5ac295766c6 (diff)
downloadopenembedded-core-contrib-5d2c0b051072b3cee510dcad8d20fb26d3843f62.tar.gz
openembedded-core-contrib-5d2c0b051072b3cee510dcad8d20fb26d3843f62.tar.bz2
openembedded-core-contrib-5d2c0b051072b3cee510dcad8d20fb26d3843f62.zip
uclibc: Upgrade recipes from 0.9.32 -> 0.9.33
Prefer 0.9.33 by default Delete recipes for 0.9.32 Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb')
-rw-r--r--meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb b/meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb
new file mode 100644
index 00000000000..234b810074f
--- /dev/null
+++ b/meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb
@@ -0,0 +1,39 @@
+SECTION = "base"
+require uclibc_${PV}.bb
+
+DEPENDS = "linux-libc-headers ncurses-native virtual/${TARGET_PREFIX}gcc-initial"
+PROVIDES = "virtual/${TARGET_PREFIX}libc-initial"
+
+PACKAGES = ""
+PACKAGES_DYNAMIC = ""
+
+STAGINGCC = "gcc-cross-initial"
+STAGINGCC_virtclass-nativesdk = "gcc-crosssdk-initial"
+
+do_install() {
+ # Install initial headers into the cross dir
+ make PREFIX=${D} DEVEL_PREFIX=${prefix}/ RUNTIME_PREFIX=/ \
+ install_headers install_startfiles
+ ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \
+ -o lib/libc.so
+ ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \
+ -o lib/libm.so
+ install -d ${D}${libdir}
+ install -m 755 lib/lib[cm].so ${D}${libdir}
+ # add links to linux-libc-headers: gcc-{cross,crossdk}-intermediate need this.
+ for t in linux asm asm-generic; do
+ if [ -d ${D}${includedir}/$t ]; then
+ rm -rf ${D}${includedir}/$t
+ fi
+ ln -sf ${STAGING_DIR_TARGET}${includedir}/$t ${D}${includedir}/
+ done
+}
+do_compile() {
+ :
+}
+
+do_siteconfig () {
+ :
+}
+
+do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_TCBOOTSTRAP}"