summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-07-27 21:24:12 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-07-27 21:24:12 +0000
commit3ec8407fcdcac93b491616a6f8e20c27ac789fad (patch)
tree05ed46a1da4281d0ad6422e1d04289050383bd23
parent8caffa254ca4072d1530f4c3273e4ba87700252f (diff)
parenta0a17d54ae3dfdf9acf1a339650701fe83efb500 (diff)
merge of '65fcc53beb3d65343762ba2dce11a497216af44c'
and 'f81643eda3b84834595762e576e7135f0101ce23'
-rw-r--r--classes/autotools.bbclass7
-rw-r--r--classes/magicbox-image.bbclass2
-rw-r--r--classes/pkgconfig.bbclass9
-rw-r--r--classes/sanity.bbclass2
-rw-r--r--conf/distro/angstrom-2007.1.conf8
-rw-r--r--conf/distro/openmoko.conf21
-rw-r--r--conf/machine/xilinx-ml403.conf6
-rw-r--r--conf/machine/xilinx-ml410.conf22
-rw-r--r--packages/asterisk/asterisk-1.2.13/uclibc-dsn.patch18
-rw-r--r--packages/asterisk/asterisk-1.2.14/asterisk.patch221
-rw-r--r--packages/asterisk/asterisk-1.2.14/uclibc-compat-getloadavg.patch13
-rw-r--r--packages/asterisk/asterisk-1.2.14/uclibc-dsn.patch18
-rw-r--r--packages/asterisk/asterisk-1.2.16/asterisk.patch221
-rw-r--r--packages/asterisk/asterisk-1.2.16/uclibc-compat-getloadavg.patch13
-rw-r--r--packages/asterisk/asterisk-1.2.16/uclibc-dsn.patch18
-rw-r--r--packages/asterisk/asterisk-1.2.23/.mtn2git_empty (renamed from packages/asterisk/asterisk-1.2.13/.mtn2git_empty)0
-rw-r--r--packages/asterisk/asterisk-1.2.23/asterisk.patch (renamed from packages/asterisk/asterisk-1.2.13/asterisk.patch)0
-rw-r--r--packages/asterisk/asterisk-1.2.23/enable-speex.patch21
-rw-r--r--packages/asterisk/asterisk-1.2.23/uclibc-compat-getloadavg.patch (renamed from packages/asterisk/asterisk-1.2.13/uclibc-compat-getloadavg.patch)0
-rw-r--r--packages/asterisk/asterisk-1.2.23/uclibc-dns.patch18
-rw-r--r--packages/asterisk/asterisk_1.2.13.bb37
-rw-r--r--packages/asterisk/asterisk_1.2.16.bb43
-rw-r--r--packages/asterisk/asterisk_1.2.23.bb (renamed from packages/asterisk/asterisk_1.2.14.bb)9
-rw-r--r--packages/bluez/bluez-gnome_cvs.bb17
-rw-r--r--packages/clutter/clutter-glx_svn.bb (renamed from packages/clutter/clutter_svn.bb)0
-rw-r--r--packages/ecj/ecj-native_3.3.bb17
-rw-r--r--packages/fftw/fftw.inc4
-rw-r--r--packages/gcc/gcc-4.0.2/libstdc++-configure.patch10
-rw-r--r--packages/gcc/gcc-4.2.1/.mtn2git_empty (renamed from packages/asterisk/asterisk-1.2.14/.mtn2git_empty)0
-rw-r--r--packages/gcc/gcc-4.2.1/100-uclibc-conf.patch (renamed from packages/gcc/gcc-4.2.0/100-uclibc-conf.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/110-arm-eabi.patch (renamed from packages/gcc/gcc-4.2.0/110-arm-eabi.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/200-uclibc-locale.patch (renamed from packages/gcc/gcc-4.2.0/200-uclibc-locale.patch)8
-rw-r--r--packages/gcc/gcc-4.2.1/300-libstdc++-pic.patch (renamed from packages/gcc/gcc-4.2.0/300-libstdc++-pic.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/301-missing-execinfo_h.patch (renamed from packages/gcc/gcc-4.2.0/301-missing-execinfo_h.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/302-c99-snprintf.patch (renamed from packages/gcc/gcc-4.2.0/302-c99-snprintf.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/303-c99-complex-ugly-hack.patch (renamed from packages/gcc/gcc-4.2.0/303-c99-complex-ugly-hack.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/304-index_macro.patch (renamed from packages/gcc/gcc-4.2.0/304-index_macro.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/602-sdk-libstdc++-includes.patch (renamed from packages/gcc/gcc-4.2.0/602-sdk-libstdc++-includes.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/740-sh-pr24836.patch (renamed from packages/gcc/gcc-4.2.0/740-sh-pr24836.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/800-arm-bigendian.patch (renamed from packages/gcc/gcc-4.2.0/800-arm-bigendian.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/801-arm-bigendian-eabi.patch (renamed from packages/gcc/gcc-4.2.0/801-arm-bigendian-eabi.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/904-flatten-switch-stmt-00.patch153
-rw-r--r--packages/gcc/gcc-4.2.1/README (renamed from packages/gcc/gcc-4.2.0/README)0
-rw-r--r--packages/gcc/gcc-4.2.1/arm-nolibfloat.patch (renamed from packages/gcc/gcc-4.2.0/arm-nolibfloat.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/arm-softfloat.patch (renamed from packages/gcc/gcc-4.2.0/arm-softfloat.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/arm-thumb-cache.patch (renamed from packages/gcc/gcc-4.2.0/arm-thumb-cache.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/arm-thumb.patch (renamed from packages/gcc/gcc-4.2.0/arm-thumb.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/cache-amnesia.patch (renamed from packages/gcc/gcc-4.2.0/cache-amnesia.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/fix-ICE-in-arm_unwind_emit_set.diff (renamed from packages/gcc/gcc-4.2.0/fix-ICE-in-arm_unwind_emit_set.diff)0
-rw-r--r--packages/gcc/gcc-4.2.1/gcc41-configure.in.patch (renamed from packages/gcc/gcc-4.2.0/gcc41-configure.in.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/ldflags.patch (renamed from packages/gcc/gcc-4.2.0/ldflags.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/sdk-libstdc++-includes.patch (renamed from packages/gcc/gcc-4.2.0/sdk-libstdc++-includes.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/sh3-installfix-fixheaders.patch (renamed from packages/gcc/gcc-4.2.0/sh3-installfix-fixheaders.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/unbreak-armv4t.patch (renamed from packages/gcc/gcc-4.2.0/unbreak-armv4t.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/zecke-no-host-includes.patch (renamed from packages/gcc/gcc-4.2.0/zecke-no-host-includes.patch)0
-rw-r--r--packages/gcc/gcc-4.2.1/zecke-xgcc-cpp.patch (renamed from packages/gcc/gcc-4.2.0/zecke-xgcc-cpp.patch)0
-rw-r--r--packages/gcc/gcc-cross-sdk_4.2.0.bb40
-rw-r--r--packages/gcc/gcc-cross_4.2.1.bb (renamed from packages/gcc/gcc-cross_4.2.0.bb)0
-rw-r--r--packages/gcc/gcc_4.2.1.bb (renamed from packages/gcc/gcc_4.2.0.bb)1
-rw-r--r--packages/gnuradio/.mtn2git_empty (renamed from packages/asterisk/asterisk-1.2.16/.mtn2git_empty)0
-rw-r--r--packages/gnuradio/gnuradio/.mtn2git_empty (renamed from packages/gcc/gcc-4.2.0/.mtn2git_empty)0
-rw-r--r--packages/gnuradio/gnuradio/no-trellis-doc.patch9
-rw-r--r--packages/gnuradio/gnuradio_svn.bb38
-rw-r--r--packages/gpephone/cms92init-0.1/.mtn2git_empty0
-rw-r--r--packages/gpephone/cms92init-0.1/oe-install.patch9
-rw-r--r--packages/gpephone/cms92init_0.1.bb3
-rw-r--r--packages/gpephone/gpe-applauncher_0.8.bb12
-rw-r--r--packages/gpephone/gpe-phonepanel_0.9.bb12
-rw-r--r--packages/gpephone/libgpephone_0.4.bb13
-rw-r--r--packages/gpephone/phoneserver/phoneserver-gta01.patch391
-rw-r--r--packages/gpephone/phoneserver_1.0.bb7
-rw-r--r--packages/gpephone/ptim-helper_svn.bb2
-rw-r--r--packages/gpephone/ptim-manager_svn.bb9
-rw-r--r--packages/linux/linux-gta01.inc2
-rw-r--r--packages/mtd/mtd-utils-native_0.0.0+cvs20060223.bb2
-rw-r--r--packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2-20041113.patch107
-rw-r--r--packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2-20060131.patch100
-rw-r--r--packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2.patch103
-rw-r--r--packages/mtd/mtd-utils/add_lzo.patch220
-rw-r--r--packages/mtd/mtd-utils/favour_lzo.patch136
-rw-r--r--packages/mtd/mtd-utils/fix-ignoreerrors-20060131.patch20
-rw-r--r--packages/mtd/mtd-utils/fix-ignoreerrors.patch20
-rw-r--r--packages/mtd/mtd-utils/lzo_1x.patch26
-rw-r--r--packages/mtd/mtd-utils_0.0.0+cvs20060223.bb39
-rw-r--r--packages/mtd/mtd-utils_1.0.0+git.bb7
-rw-r--r--packages/openmoko-apps/omext_0.2.bb12
-rw-r--r--packages/openmoko-apps/openmoko-rssreader_svn.bb2
-rw-r--r--packages/pkgconfig/pkgconfig-0.22/.mtn2git_empty0
-rw-r--r--packages/pkgconfig/pkgconfig-0.22/glibconfig-sysdefs.h6
-rw-r--r--packages/pkgconfig/pkgconfig-native_0.22.bb7
-rw-r--r--packages/pkgconfig/pkgconfig_0.22.bb30
-rw-r--r--packages/ruby/ruby_1.8.5.bb6
-rw-r--r--packages/tasks/task-base.bb8
-rw-r--r--packages/webkit/webkit_svn.bb21
-rw-r--r--packages/wifi-radar/wifi-radar_1.9.6.bb4
95 files changed, 921 insertions, 1439 deletions
diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
index 3c555751da..fccf2b6d80 100644
--- a/classes/autotools.bbclass
+++ b/classes/autotools.bbclass
@@ -139,6 +139,13 @@ autotools_do_configure() {
autotools_do_install() {
oe_runmake 'DESTDIR=${D}' install
+
+ for i in `find ${D} -name "*.la"` ; do \
+ sed -i -e s:${STAGING_LIBDIR}:${libdir}:g $i
+ sed -i -e s:${D}::g $i
+ sed -i -e 's:-I${WORKDIR}\S*: :g' $i
+ sed -i -e 's:-L${WORKDIR}\S*: :g' $i
+ done
}
STAGE_TEMP="${WORKDIR}/temp-staging"
diff --git a/classes/magicbox-image.bbclass b/classes/magicbox-image.bbclass
index 05de28b76b..c75e69cac2 100644
--- a/classes/magicbox-image.bbclass
+++ b/classes/magicbox-image.bbclass
@@ -1,6 +1,6 @@
magicbox_gen_images() {
# find latest kernel
- KERNEL=`ls -tr ${DEPLOY_DIR_IMAGE}/uImage* | tail -1`
+ KERNEL=`ls -tr ${DEPLOY_DIR_IMAGE}/uImage* | tail -n 1`
if [ -z "$KERNEL" ]; then
oefatal "No kernel found in ${DEPLOY_DIR_IMAGE}. Exiting !"
exit 1
diff --git a/classes/pkgconfig.bbclass b/classes/pkgconfig.bbclass
index f2054b0b07..cd6e04731e 100644
--- a/classes/pkgconfig.bbclass
+++ b/classes/pkgconfig.bbclass
@@ -17,8 +17,17 @@ def get_pkgconfig_mangle(d):
s += " -e 's:OEDATADIR:${STAGING_DATADIR}:'"
s += " -e 's:OEPREFIX:${STAGING_LIBDIR}/..:'"
s += " -e 's:OEEXECPREFIX:${STAGING_LIBDIR}/..:'"
+ s += " -e 's:-L${WORKDIR}\S*: :g'"
+ s += " -e 's:-I${WORKDIR}\S*: :g'"
+
return s
+do_install_append () {
+ for pc in `find ${D} -name '*.pc' -type f | grep -v -- '-uninstalled.pc$'`; do
+ sed -i ${@get_pkgconfig_mangle(d)} ${pc}
+ done
+}
+
do_stage_append () {
for pc in `find ${S} -name '*.pc' -type f | grep -v -- '-uninstalled.pc$'`; do
pcname=`basename $pc`
diff --git a/classes/sanity.bbclass b/classes/sanity.bbclass
index d2fd4b0b04..a0da0667dd 100644
--- a/classes/sanity.bbclass
+++ b/classes/sanity.bbclass
@@ -89,7 +89,7 @@ def check_sanity(e):
if not check_app_exists('${BUILD_PREFIX}g++', e.data):
missing = missing + "C++ Compiler (${BUILD_PREFIX}g++),"
- required_utilities = "patch diffstat texi2html makeinfo cvs svn git bzip2 tar gzip gawk md5sum bison"
+ required_utilities = "patch help2man diffstat texi2html makeinfo cvs svn git bzip2 tar gzip gawk md5sum bison"
for util in required_utilities.split():
if not check_app_exists( util, e.data ):
diff --git a/conf/distro/angstrom-2007.1.conf b/conf/distro/angstrom-2007.1.conf
index 34a02514d3..e83ef90280 100644
--- a/conf/distro/angstrom-2007.1.conf
+++ b/conf/distro/angstrom-2007.1.conf
@@ -41,7 +41,9 @@ FEED_ARCH ?= "${TARGET_ARCH}"
FEED_ARCH_ep93xx = "armv4t"
FEED_ARCH_h6300 = "armv4t"
-FEED_ARCH_fic-gta01 = "armv4t"
+FEED_ARCH_fic-gta01 = "armv4t"
+FEED_ARCH_fic-gta02 = "armv4t"
+FEED_ARCH_fic-hxd8 = "armv4t"
#armv5t machines
@@ -148,11 +150,11 @@ PREFERRED_VERSION_cairo = "1.4.10"
PREFERRED_VERSION_glib-2.0 = "2.12.12"
PREFERRED_VERSION_pango = "1.16.4"
PREFERRED_VERSION_atk = "1.10.3"
-PREFERRED_VERSION_gtk+ = "2.10.12"
+PREFERRED_VERSION_gtk+ = "2.10.14"
# newer poppler cvs breaks some apps, fix until popper 6 and apps
# catch up with api changes
-PREFERRED_VERSION_poppler = "0.5.4"
+# PREFERRED_VERSION_poppler = "0.5.4"
# older gtk-webcore releases don't work on ARM/EABI
# We need to switch to a fixed SRCDATE or release as soon as possible
diff --git a/conf/distro/openmoko.conf b/conf/distro/openmoko.conf
index 6e33867aa9..1f46be09d6 100644
--- a/conf/distro/openmoko.conf
+++ b/conf/distro/openmoko.conf
@@ -1,9 +1,11 @@
#-----------------------------------------------------------------------------
#@TYPE: Distribution
-#@NAME: OpenMoKo
-#@DESCRIPTION: Linux Distribution Configuration for the FIC GTA01 Project
+#@NAME: OpenMoko
+#@DESCRIPTION: Linux Distribution Configuration for the OpenMoko Platform
#-----------------------------------------------------------------------------
+require conf/distro/angstrom-2007.1.conf
+
#
# Header
#
@@ -11,18 +13,3 @@ DISTRO_NAME = "OpenMoKo"
DISTRO_VERSION = ".dev-snapshot-${DATE}"
#DISTRO_TYPE = "release"
DISTRO_TYPE = "debug"
-
-require conf/distro/include/openmoko.inc
-
-# Toolchain
-PREFERRED_VERSION_gcc ?= "4.1.1"
-PREFERRED_VERSION_gcc-cross ?= "4.1.1"
-PREFERRED_VERSION_gcc-cross-initial ?= "4.1.1"
-PREFERRED_VERSION_binutils ?= "2.17.50.0.5"
-PREFERRED_VERSION_binutils-cross ?= "2.17.50.0.5"
-PREFERRED_VERSION_linux-libc-headers ?= "2.6.18"
-# 2.5 has less bugs, but crashes dropbear :/
-PREFERRED_VERSION_glibc ?= "2.4"
-PREFERRED_VERSION_glibc-intermediate ?= "2.4"
-
-PREFERRED_VERSION_lmsensors-apps ?= "2.10.1"
diff --git a/conf/machine/xilinx-ml403.conf b/conf/machine/xilinx-ml403.conf
index 662fb54692..a4979d4527 100644
--- a/conf/machine/xilinx-ml403.conf
+++ b/conf/machine/xilinx-ml403.conf
@@ -1,7 +1,9 @@
+# Copyright (C) 2007, Stelios Koroneos - Digital OPSiS, All Rights Reserved
+# Released under the MIT license (see packages/COPYING)
#@TYPE: Machine
#@Name: Xilinx ML403 FPGA Development Platform
-#@DESCRIPTION: Machine configuration for Xilinx ML403 (softcore ppc) development platform
-\http://www.xilinx.com/xlnx/xebiz/designResources/ip_product_details.jsp?key=HW-V4-ML403-USA&iLanguageID=1
+#@DESCRIPTION: Machine configuration for Xilinx ML403 (softcore ppc) development platform \
+http://www.xilinx.com/ml403
TARGET_ARCH = "powerpc"
PACKAGE_EXTRA_ARCHS = "ppc405"
diff --git a/conf/machine/xilinx-ml410.conf b/conf/machine/xilinx-ml410.conf
new file mode 100644
index 0000000000..9adb26e43e
--- /dev/null
+++ b/