summaryrefslogtreecommitdiff
path: root/packages/uclibc/uclibc-initial_0.9.28.bb
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-09-06 19:15:20 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-06 19:15:20 +0000
commita193b9261c45c31fe362567ffb3879a424d6cafb (patch)
treeb5a600e3b718d69e6ca69332abf73e085a4f7164 /packages/uclibc/uclibc-initial_0.9.28.bb
parentebdbaa2772ce61e6ebbfd99d7eb49e46c1f597c4 (diff)
uclibc: release 0.9.28 - upgrading to the release requires a rebuild
IMPORTANT: the uClibc dynamic loader has changed in this release, the startup and finalisation is changed and this requires applications to be rebuilt with the new uclibc. If this is not done the applications will not work correctly. uclibc 0.9.28 contains all the non-thumb (ARM instruction set) patches OE applied to 0.9.27, this check in includes minimal updates to the uClibc.config file for each machine architecture, maintainers of individual architectures may want to make more changes to take advantage of new features in uClibc. It is possible to configure uClibc to offer backward compatibility with the 0.9.27 dynamic loader, if this is done it will still be necessary to have both uClibc DLLs (0.9.27 and 0.9.28) on the system for un-recompiled applications to build. This commit does *not* do this. With this commit the uclibc build is running the 'fix_includes.sh' script to verify the cross build header files. This seems to function correctly however it is possible that some distros may have incorrect header files (particular if uclibc-initial is built) - in that case it will be necessary to re-introduce the nokernelheader.patch If it is necessary to continue to use 0.9.27 in the presence of this upgrade set PREFERRED_VERSION_uclibc in the DISTRO .conf file.
Diffstat (limited to 'packages/uclibc/uclibc-initial_0.9.28.bb')
-rw-r--r--packages/uclibc/uclibc-initial_0.9.28.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/uclibc/uclibc-initial_0.9.28.bb b/packages/uclibc/uclibc-initial_0.9.28.bb
new file mode 100644
index 0000000000..a2b8b77e40
--- /dev/null
+++ b/packages/uclibc/uclibc-initial_0.9.28.bb
@@ -0,0 +1,32 @@
+SECTION = "base"
+include uclibc_${PV}.bb
+
+FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-${PV}', '${FILE_DIRNAME}/uclibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}"
+
+DEPENDS = "linux-libc-headers"
+PROVIDES = "virtual/${TARGET_PREFIX}libc-initial"
+PACKAGES = ""
+
+do_stage() {
+ # Install initial headers into the cross dir
+ make PREFIX= DEVEL_PREFIX=${UCLIBC_PREFIX}/ \
+ RUNTIME_PREFIX=${UCLIBC_PREFIX}/ \
+ pregen install_dev
+
+ mkdir -p ${CROSS_DIR}/${TARGET_SYS}
+ mkdir -p ${CROSS_DIR}/${TARGET_SYS}/include
+ mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib
+ ln -sf include ${CROSS_DIR}/${TARGET_SYS}/sys-include
+ rm -rf ${CROSS_DIR}/${TARGET_SYS}/${prefix}
+
+ # This conflicts with the c++ version of this header
+ rm -f ${UCLIBC_PREFIX}/include/bits/atomicity.h
+}
+
+do_install() {
+ :
+}
+
+do_compile () {
+ :
+}