mirror of
https://git.yoctoproject.org/poky
synced 2026-02-25 19:09:41 +01:00
Compare commits
24 Commits
laverne-4.
...
laverne-4.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
45526f5ecf | ||
|
|
d1fd60f69d | ||
|
|
7fa2b1c154 | ||
|
|
fd7a07b3a2 | ||
|
|
01bc47f4d4 | ||
|
|
12a3d41a24 | ||
|
|
ce4f835679 | ||
|
|
54f08d23cd | ||
|
|
8a3d0f375c | ||
|
|
0c2003f134 | ||
|
|
6e71b0a012 | ||
|
|
4b5c1c0530 | ||
|
|
171e709ae6 | ||
|
|
a8b8557e4c | ||
|
|
399e6b8008 | ||
|
|
290280b332 | ||
|
|
9e11fbf904 | ||
|
|
0f8244faba | ||
|
|
0cc23a8656 | ||
|
|
30c39cc97c | ||
|
|
261ca88596 | ||
|
|
72ddd5c202 | ||
|
|
6026999e81 | ||
|
|
c5ab4d56f9 |
220
CHANGELOG
Normal file
220
CHANGELOG
Normal file
@@ -0,0 +1,220 @@
|
||||
commit fd7a07b3a2153826bedda2ef76b9a33ab2791680
|
||||
Author: Scott Garman <scott.a.garman@intel.com>
|
||||
Date: Fri Jan 21 14:15:05 2011 -0800
|
||||
|
||||
poky-extract-sdk: allow relative paths for extract-dir
|
||||
|
||||
psuedo needs a full path to its pid file, so convert
|
||||
relative extract-dir paths to full ones.
|
||||
|
||||
The symptom of this bug is receiving the following error:
|
||||
|
||||
pseudo: Couldn't open relative/path/to/var/pseudo/pseudo.pid: No such file or directory
|
||||
|
||||
This fixes [BUGID #670]
|
||||
|
||||
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
|
||||
|
||||
commit 01bc47f4d47df3276b4b6c2583bcddd834fd5050
|
||||
Author: Beth Flanagan <elizabeth.flanagan@intel.com>
|
||||
Date: Wed Nov 3 17:20:00 2010 -0700
|
||||
|
||||
quilt: Fixed configure test for patch --version.
|
||||
|
||||
OpenSuSE 11.3 uses GNU patch 2.6.1.81-5b68 which breaks quilt's
|
||||
configure test for patch version.
|
||||
|
||||
Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
|
||||
|
||||
commit 12a3d41a24db79ae6c0491defffcf4f4753001cf
|
||||
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
|
||||
Date: Fri Jan 14 11:57:18 2011 +0000
|
||||
|
||||
image.bbclass: Use the dedicated BB_WORKERCONTEXT, not bitbake internals to detect context
|
||||
|
||||
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
||||
|
||||
commit ce4f8356796bc797d9156ed252a4ed638a2150d5
|
||||
Author: Richard Purdie <rpurdie@linux.intel.com>
|
||||
Date: Wed Dec 15 23:22:16 2010 +0000
|
||||
|
||||
scripts/poky-qemu: Improve tmp layout assumption
|
||||
|
||||
If someone has changed TMPDIR in local.conf to a non-standard location, the
|
||||
poky-qemu script currently doesn't handle this and assumes if BUILDDIR is set,
|
||||
$BUILDDIR/tmp will exist.
|
||||
|
||||
Its simple to check if this exists and if not, to ask bitbake where the
|
||||
directory is so this patch changes the code to do that.
|
||||
|
||||
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
||||
|
||||
commit 54f08d23cd7d0de6aec31f4764389ff4dab2990d
|
||||
Author: Scott Garman <scott.a.garman@intel.com>
|
||||
Date: Tue Dec 7 20:59:06 2010 -0800
|
||||
|
||||
Make poky-qemu and related scripts work with arbitrary SDK locations
|
||||
|
||||
* No longer assume SDK toolchains are installed in /opt/poky
|
||||
* [BUGFIX #568] where specifying paths to both the kernel and fs
|
||||
image caused an error due to POKY_NATIVE_SYSROOT never being
|
||||
set, triggering failure of poky-qemu-ifup/ifdown
|
||||
* Cosmetic improvements to usage() functions by using basename
|
||||
|
||||
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
|
||||
|
||||
commit 8a3d0f375ce416ada1a5443e4a8e467504001beb
|
||||
Author: Scott Garman <scott.a.garman@intel.com>
|
||||
Date: Fri Nov 12 16:31:13 2010 -0800
|
||||
|
||||
poky-qemu: Fix issues when running Yocto 0.9 release images
|
||||
|
||||
This fixes two bugs with poky-qemu when it is run from a
|
||||
standalone meta-toolchain setup.
|
||||
|
||||
[BUGFIX #535] and [BUGFIX #536]
|
||||
|
||||
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
|
||||
|
||||
commit 0c2003f13434c77f901a976523478d37d8aadb48
|
||||
Author: Paul Eggleton <paul.eggleton@linux.intel.com>
|
||||
Date: Thu Dec 16 10:29:50 2010 +0000
|
||||
|
||||
openssl: restore -Wall flag
|
||||
|
||||
The -Wall flag was unintentionally removed from the end of the CFLAG var in
|
||||
089612794d4d8d9c79bd2a4365d6df78371f7f40 by me. This patch puts it back in.
|
||||
|
||||
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
||||
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
||||
|
||||
commit 6e71b0a012f0676c06b7b4788d932f320fca0b74
|
||||
Author: Joshua Lock <josh@linux.intel.com>
|
||||
Date: Wed Dec 15 14:31:21 2010 +0000
|
||||
|
||||
web-webkit: fix for make 3.82
|
||||
|
||||
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
||||
|
||||
commit 4b5c1c053000d297956f08949ffde7454ee33c5d
|
||||
Author: Joshua Lock <josh@linux.intel.com>
|
||||
Date: Wed Dec 15 13:42:15 2010 +0000
|
||||
|
||||
contacts: fix for make 3.82
|
||||
|
||||
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
||||
|
||||
commit 171e709ae6f4b1a7640bf393f57aa787648cdc0f
|
||||
Author: Joshua Lock <josh@linux.intel.com>
|
||||
Date: Wed Dec 15 12:58:09 2010 +0000
|
||||
|
||||
dates: fix for Make 3.82
|
||||
|
||||
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
||||
|
||||
commit a8b8557e4cb34b594bb620eb276bcaf7a8e0a8e3
|
||||
Author: Joshua Lock <josh@linux.intel.com>
|
||||
Date: Wed Dec 15 12:27:52 2010 +0000
|
||||
|
||||
owl-video-widget: fix Makefile for super strict make 3.82
|
||||
|
||||
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
||||
|
||||
commit 399e6b8008cb0b8cc0b75efd48dd821a6cf5a8a8
|
||||
Author: Joshua Lock <josh@linux.intel.com>
|
||||
Date: Tue Dec 14 18:29:43 2010 +0000
|
||||
|
||||
libowl-av: fix for Make 3.82
|
||||
|
||||
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
||||
|
||||
commit 290280b332570ec73301f76765b1c5f2de20a9fd
|
||||
Author: Joshua Lock <josh@linux.intel.com>
|
||||
Date: Tue Dec 14 17:56:53 2010 +0000
|
||||
|
||||
gst-plugins: fix for make 3.82
|
||||
|
||||
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
||||
|
||||
commit 9e11fbf9048b17526ca8160d82b69f386595c9a7
|
||||
Author: Joshua Lock <josh@linux.intel.com>
|
||||
Date: Tue Dec 14 15:39:42 2010 +0000
|
||||
|
||||
gstreamer: fix to comply with make 3.82's stricter parser
|
||||
|
||||
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
||||
|
||||
commit 0f8244faba5c36c0580081c112ea27ce683af99b
|
||||
Author: Joshua Lock <josh@linux.intel.com>
|
||||
Date: Tue Dec 14 12:49:13 2010 +0000
|
||||
|
||||
linux-libc-headers: fix for Make 3.82
|
||||
|
||||
Fix the kernel Makefile for use with Make 3.82 by splitting mixed implicit and
|
||||
normal rules into separate rules.
|
||||
|
||||
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
||||
|
||||
commit 0cc23a86562d0ce1e236ceb4a56a8f19d400192f
|
||||
Author: Joshua Lock <josh@linux.intel.com>
|
||||
Date: Tue Dec 14 12:21:33 2010 +0000
|
||||
|
||||
busybox: additional fixes for Make 3.82
|
||||
|
||||
There where still some mixed implicit and normal rules in the Busybox Makefile,
|
||||
Update our existing make-382.patch to split these into separate rules.
|
||||
|
||||
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
||||
|
||||
commit 30c39cc97c384134661300e107d7a81f257f8034
|
||||
Author: Joshua Lock <josh@linux.intel.com>
|
||||
Date: Fri Nov 12 16:36:54 2010 +0000
|
||||
|
||||
procps: fix for build against make 3.82
|
||||
|
||||
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
||||
|
||||
commit 261ca885962ba9606bcad4c5415927a79fdd7b96
|
||||
Author: Joshua Lock <josh@linux.intel.com>
|
||||
Date: Tue Nov 9 12:18:14 2010 +0000
|
||||
|
||||
busybox: import upstream patch for make 3.82
|
||||
|
||||
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
||||
|
||||
commit 72ddd5c20246a5d5b1752b58a61ef75b4c39cc40
|
||||
Author: Joshua Lock <josh@linux.intel.com>
|
||||
Date: Tue Nov 9 12:14:28 2010 +0000
|
||||
|
||||
eglibc: fix build of eglibc-initial for make 3.82
|
||||
|
||||
Make 3.82, as shipped with Fedora 14, fixes some holes in the parser which in
|
||||
turn breaks behaviour of some Makefiles. Most notably eglibc's.
|
||||
|
||||
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
||||
|
||||
commit 6026999e81042a7f6560f9bce04390865509b235
|
||||
Author: Paul Eggleton <paul.eggleton@intel.com>
|
||||
Date: Fri Nov 19 15:03:32 2010 +0000
|
||||
|
||||
qemu: fix failure to find zlib header files during configure
|
||||
|
||||
Corrects problems during configure of qemu-native due to the BUILD_CFLAGS
|
||||
not being included when attempting to compile the test program for zlib
|
||||
within the configure script.
|
||||
|
||||
Signed-off-by: Paul Eggleton <paul.eggleton@intel.com>
|
||||
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
||||
|
||||
commit c5ab4d56f97a0e45b124d40c9f536541be04c201
|
||||
Author: Paul Eggleton <paul.eggleton@intel.com>
|
||||
Date: Wed Nov 17 11:37:47 2010 +0000
|
||||
|
||||
openssl-native: disable execstack flag to prevent problems with SELinux
|
||||
|
||||
The execstack flag gets set on libcrypto.so by default which causes SELinux
|
||||
to prevent it from being loaded on systems using SELinux, which includes
|
||||
Fedora. This patch disables the execstack flag. (Note: Red Hat do this in
|
||||
their openssl packaging.)
|
||||
|
||||
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
||||
70
NOTES
Normal file
70
NOTES
Normal file
@@ -0,0 +1,70 @@
|
||||
Name: Laverne
|
||||
Version: 4.0.1
|
||||
Built from Revision: fd7a07b3a2153826bedda2ef76b9a33ab2791680
|
||||
Build Date: Jan 26 2011
|
||||
Builder: autobuilder.pokylinux.org
|
||||
|
||||
The Laverne 4.0.1 Release ensures you can use Poky Laverne on systems running
|
||||
Fedora 14 and Opensuse 11.3, fixes issues with the poky-qemu script, and fixes
|
||||
several other bugs. For the full changelog for Laverne 4.0.1 please read
|
||||
CHANGELOG.
|
||||
|
||||
Following are descriptions of fixes and known issues.
|
||||
|
||||
Fixes
|
||||
------------------------
|
||||
|
||||
* Make 3.82, as shipped with Fedora 14, included parser bug fixes that
|
||||
resulted in a much stricter parser. As a result, the Makefiles could not be
|
||||
parsed for many of the software versions shipped with Laverne. The Makefiles
|
||||
in the following recipes were fixed:
|
||||
|
||||
o eglibc
|
||||
o busybox
|
||||
o procps
|
||||
o linux-libc-headers
|
||||
o gstreamer
|
||||
o gst-plugins
|
||||
o libowl-av
|
||||
o owl-video-widget
|
||||
o dates
|
||||
o contacts
|
||||
o web-webkit
|
||||
|
||||
* The ability to build openssl-native on a system that has SELINUX enabled
|
||||
was restored. (We disabled the execstack flag at compile time.)
|
||||
|
||||
* A host-intrusion issue caused by a failure in QEMU to find zlib headers
|
||||
during configure was fixed. The issue was causing qemu-native to use the
|
||||
system zlib if it was present. If the system zlib was not present the build
|
||||
would fail.
|
||||
|
||||
* Stability and usability enhancements, which included handling relative
|
||||
filesystem paths, were made to poky-qemu scripts.
|
||||
|
||||
* The run-time remapping of package names when adding extra packages to an
|
||||
image via the IMAGE_INSTALL mechanism were fixed.
|
||||
|
||||
* The configure test in quilt for GNU patch was fixed to that it correctly
|
||||
detects the version.
|
||||
|
||||
Known Issues
|
||||
------------------------
|
||||
|
||||
* The mpc3815e-rbd and routerstationpro machines were untested and not a
|
||||
part of the official Laverne 4.0 release. These machines are still unusable
|
||||
for this Laverne 4.0.1 release.
|
||||
o mpx3815e-rdb will not boot due to a kernel/uboot issue Bug #685
|
||||
o routerstation will not boot (by default) due to incorrect boot
|
||||
parameters Bug #681
|
||||
o routerstationpro debug messages related to the ethernet driver print
|
||||
during boot Bug #679
|
||||
* Shutdown/poweroff on qemuarm does not cleanly halt the virtual machine.
|
||||
To workaround this issue use the reboot command. Using this command avoids
|
||||
a "power-cycle" and instead cleanly shuts down the VM Bug #684
|
||||
* Two "Connection Manager" icons appear in the Sato UI. This duplication has
|
||||
been fixed in master. Note that you can use either icon to launch the
|
||||
connectivity UI. Bug #683
|
||||
* The on-screen keyboard incorrectly launches in the qemumips machine. This
|
||||
issue is due to a mis-configured formfactor file Bug #682
|
||||
|
||||
@@ -39,7 +39,7 @@ python () {
|
||||
|
||||
# If we don't do this we try and run the mapping hooks while parsing which is slow
|
||||
# bitbake should really provide something to let us know this...
|
||||
if bb.data.getVar('__RUNQUEUE_DO_NOT_USE_EXTERNALLY', d, True) is not None:
|
||||
if bb.data.getVar('BB_WORKERCONTEXT', d, True) is not None:
|
||||
runtime_mapping_rename("PACKAGE_INSTALL", d)
|
||||
runtime_mapping_rename("PACKAGE_INSTALL_ATTEMPTONLY", d)
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#@DESCRIPTION: Distribution configuration for the Yocto Project build by Poky
|
||||
|
||||
DISTRO = "poky"
|
||||
DISTRO_NAME = "Yocto Linux (Built by Poky 4.0)"
|
||||
DISTRO_NAME = "Yocto Linux (Built by Poky 4.0.1)"
|
||||
DISTRO_VERSION = "0.9"
|
||||
|
||||
MAINTAINER = "Poky <poky@yoctoproject.org>"
|
||||
|
||||
@@ -17,6 +17,10 @@ AR_append = " r"
|
||||
CFLAG = "${@base_conditional('SITEINFO_ENDIANESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)} \
|
||||
-DTERMIO ${FULL_OPTIMIZATION} -Wall"
|
||||
|
||||
# Avoid binaries being marked as requiring an executable stack (which causes
|
||||
# issues with SELinux on the host)
|
||||
CFLAG_append_virtclass-native = " -Wa,--noexecstack"
|
||||
|
||||
# -02 does not work on mipsel: ssh hangs when it tries to read /dev/urandom
|
||||
CFLAG_mtx-1 := "${@'${CFLAG}'.replace('-O2', '')}"
|
||||
CFLAG_mtx-2 := "${@'${CFLAG}'.replace('-O2', '')}"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
require openssl.inc
|
||||
|
||||
PR = "r0"
|
||||
PR = "r2"
|
||||
SRC_URI += "file://debian/ca.patch \
|
||||
file://debian/config-hurd.patch;apply=no \
|
||||
file://debian/debian-targets.patch \
|
||||
|
||||
56
meta/recipes-core/busybox/busybox-1.16.2/make-382-fix.patch
Normal file
56
meta/recipes-core/busybox/busybox-1.16.2/make-382-fix.patch
Normal file
@@ -0,0 +1,56 @@
|
||||
From ef6c6d8cfef071435ccf275ad404a501626b706c Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Chou <thomas@wytron.com.tw>
|
||||
Date: Tue, 19 Oct 2010 07:17:12 +0000
|
||||
Subject: mkmakefile: make 3.82 fix
|
||||
|
||||
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
|
||||
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
||||
---
|
||||
Index: busybox-1.16.2/scripts/mkmakefile
|
||||
===================================================================
|
||||
--- busybox-1.16.2.orig/scripts/mkmakefile
|
||||
+++ busybox-1.16.2/scripts/mkmakefile
|
||||
@@ -31,6 +31,9 @@ all:
|
||||
|
||||
Makefile:;
|
||||
|
||||
-\$(filter-out all Makefile,\$(MAKECMDGOALS)) %/:
|
||||
+\$(filter-out all Makefile,\$(MAKECMDGOALS)):
|
||||
+ \$(MAKE) -C \$(KERNELSRC) O=\$(KERNELOUTPUT) \$@
|
||||
+
|
||||
+%/:
|
||||
\$(MAKE) -C \$(KERNELSRC) O=\$(KERNELOUTPUT) \$@
|
||||
EOF
|
||||
Index: busybox-1.16.2/Makefile
|
||||
===================================================================
|
||||
--- busybox-1.16.2.orig/Makefile
|
||||
+++ busybox-1.16.2/Makefile
|
||||
@@ -428,11 +428,15 @@ ifeq ($(config-targets),1)
|
||||
-include $(srctree)/arch/$(ARCH)/Makefile
|
||||
export KBUILD_DEFCONFIG
|
||||
|
||||
-config %config: scripts_basic outputmakefile FORCE
|
||||
+config: scripts_basic outputmakefile FORCE
|
||||
$(Q)mkdir -p include
|
||||
$(Q)$(MAKE) $(build)=scripts/kconfig $@
|
||||
$(Q)$(MAKE) -C $(srctree) KBUILD_SRC= .kernelrelease
|
||||
|
||||
+%config: scripts_basic outputmakefile FORCE
|
||||
+ $(Q)mkdir -p include
|
||||
+ $(Q)$(MAKE) $(build)=scripts/kconfig $@
|
||||
+ $(Q)$(MAKE) -C $(srctree) KBUILD_SRC= .kernelrelease
|
||||
else
|
||||
# ===========================================================================
|
||||
# Build targets only - this includes busybox, arch specific targets, clean
|
||||
@@ -1280,7 +1284,10 @@ endif
|
||||
$(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
|
||||
|
||||
# Modules
|
||||
-/ %/: prepare scripts FORCE
|
||||
+%/: prepare scripts FORCE
|
||||
+ $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
|
||||
+ $(build)=$(build-dir)
|
||||
+/: prepare scripts FORCE
|
||||
$(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
|
||||
$(build)=$(build-dir)
|
||||
%.ko: prepare scripts FORCE
|
||||
@@ -1,5 +1,5 @@
|
||||
require busybox.inc
|
||||
PR = "r0"
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
|
||||
file://udhcpscript.patch \
|
||||
@@ -8,6 +8,7 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
|
||||
file://get_header_tar.patch \
|
||||
file://busybox-appletlib-dependency.patch \
|
||||
file://run-parts.in.usr-bin.patch \
|
||||
file://make-382-fix.patch \
|
||||
file://find-touchscreen.sh \
|
||||
file://busybox-cron \
|
||||
file://busybox-httpd \
|
||||
|
||||
25
meta/recipes-core/eglibc/eglibc-2.12/fix-for-make-3.82.diff
Normal file
25
meta/recipes-core/eglibc/eglibc-2.12/fix-for-make-3.82.diff
Normal file
@@ -0,0 +1,25 @@
|
||||
Make 3.82, as shipped with Fedora 14, fixes some holes in the parser which in
|
||||
turn breaks behaviour of some Makefiles. Most notably eglibc's.
|
||||
|
||||
http://www.mail-archive.com/bug-make@gnu.org/msg06220.html
|
||||
|
||||
Fix back-ported from glibc/eglibc revision control.
|
||||
|
||||
JL 13/10/10
|
||||
|
||||
Index: libc/manual/Makefile
|
||||
===================================================================
|
||||
--- libc.orig/manual/Makefile
|
||||
+++ libc/manual/Makefile
|
||||
@@ -243,7 +243,10 @@ ifdef objpfx
|
||||
.PHONY: stubs
|
||||
stubs: $(objpfx)stubs
|
||||
endif
|
||||
-$(objpfx)stubs ../po/manual.pot $(objpfx)stamp%:
|
||||
+$(objpfx)stubs ../po/manual.pot:
|
||||
+ $(make-target-directory)
|
||||
+ touch $@
|
||||
+$(objpfx)stamp%:
|
||||
$(make-target-directory)
|
||||
touch $@
|
||||
|
||||
@@ -2,7 +2,7 @@ require eglibc.inc
|
||||
|
||||
DEPENDS += "gperf-native"
|
||||
FILESPATHPKG =. "eglibc-svn:"
|
||||
PR = "r9"
|
||||
PR = "r10"
|
||||
|
||||
EGLIBC_BRANCH="eglibc-2_12"
|
||||
SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http \
|
||||
@@ -11,7 +11,8 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http
|
||||
file://shorten-build-commands.patch \
|
||||
file://mips-rld-map-check.patch \
|
||||
file://etc/ld.so.conf \
|
||||
file://generate-supported.mk"
|
||||
file://generate-supported.mk \
|
||||
file://fix-for-make-3.82.diff"
|
||||
SRC_URI_append_virtclass-nativesdk = " file://ld-search-order.patch"
|
||||
S = "${WORKDIR}/${EGLIBC_BRANCH}/libc"
|
||||
B = "${WORKDIR}/build-${TARGET_SYS}"
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
In native builds, qemu can fail to find zlib development files in the native
|
||||
sysroot and the build machine might not have zlib-dev packages installed.
|
||||
|
||||
Add CFLAGS to qemu's CFLAGS which in the native case means BUILD_CFLAGS are
|
||||
added and files in the sysroot can be found.
|
||||
|
||||
Patch from Paul Eggleton, Comments by RP 28/11/10
|
||||
|
||||
Index: qemu-0.12.4/configure
|
||||
===================================================================
|
||||
--- qemu-0.12.4.orig/configure
|
||||
+++ qemu-0.12.4/configure
|
||||
@@ -99,6 +99,7 @@ QEMU_CFLAGS="-Wstrict-prototypes -Wredun
|
||||
QEMU_CFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $QEMU_CFLAGS"
|
||||
QEMU_CFLAGS="-U_FORTIFY_SOURCE $QEMU_CFLAGS"
|
||||
QEMU_CFLAGS="-I. -I\$(SRC_PATH) $QEMU_CFLAGS"
|
||||
+QEMU_CFLAGS="$QEMU_CFLAGS $CFLAGS"
|
||||
LDFLAGS="-g $LDFLAGS"
|
||||
|
||||
gcc_flags="-Wold-style-declaration -Wold-style-definition"
|
||||
@@ -1,6 +1,6 @@
|
||||
require qemu.inc
|
||||
|
||||
PR = "r22"
|
||||
PR = "r23"
|
||||
|
||||
FILESPATH = "${FILE_DIRNAME}/qemu-${PV}"
|
||||
FILESDIR = "${WORKDIR}"
|
||||
@@ -21,6 +21,7 @@ SRC_URI = "\
|
||||
file://arm-cp15-fix.patch \
|
||||
file://cursor-shadow-fix.patch \
|
||||
file://vmware-vga-fifo-rewind.patch \
|
||||
file://fix-configure-checks.patch \
|
||||
file://powerpc_rom.bin"
|
||||
|
||||
do_install_append () {
|
||||
|
||||
@@ -5,7 +5,8 @@ LICENSE = "GPLv2"
|
||||
LIC_CHKSUM_FILES = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
||||
|
||||
SRC_URI = "http://download.savannah.gnu.org/releases/quilt/quilt-${PV}.tar.gz \
|
||||
file://install.patch"
|
||||
file://install.patch \
|
||||
file://gnu_patch_test_fix.patch"
|
||||
|
||||
inherit autotools
|
||||
|
||||
|
||||
19
meta/recipes-devtools/quilt/quilt/gnu_patch_test_fix.patch
Normal file
19
meta/recipes-devtools/quilt/quilt/gnu_patch_test_fix.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
# quilt's configure tosses an error with patch @ GNU patch 2.6.1.81-5b68
|
||||
#
|
||||
# Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
|
||||
--- quilt-0.48/configure 2010-11-03 11:50:55.280329802 -0700
|
||||
+++ quilt-0.48/configure 2010-11-03 11:52:43.705354080 -0700
|
||||
@@ -5896,7 +5896,12 @@
|
||||
echo $ECHO_N "checking the version of $PATCH... $ECHO_C" >&6; }
|
||||
if $PATCH --version 2> /dev/null | grep GNU >/dev/null; then
|
||||
set -- `$PATCH --version 2> /dev/null`
|
||||
- patch_version=$2
|
||||
+ #
|
||||
+ if test x$1 = xGNU ; then
|
||||
+ patch_version=$3
|
||||
+ else
|
||||
+ patch_version=$2
|
||||
+ fi
|
||||
{ echo "$as_me:$LINENO: result: $patch_version" >&5
|
||||
echo "${ECHO_T}$patch_version" >&6; }
|
||||
saved_IFS=$IFS; IFS='.'
|
||||
@@ -0,0 +1,17 @@
|
||||
Fix for stricter Makefile parser in Make 3.82 take from Gentoo bugzilla:
|
||||
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-process/procps/files/procps-3.2.8%2Bgmake-3.82.patch?revision=1.1
|
||||
|
||||
Index: procps-3.2.8/Makefile
|
||||
===================================================================
|
||||
--- procps-3.2.8.orig/Makefile
|
||||
+++ procps-3.2.8/Makefile
|
||||
@@ -174,7 +174,8 @@ INSTALL := $(BINFILES) $(MANFILES)
|
||||
# want this rule first, use := on ALL, and ALL not filled in yet
|
||||
all: do_all
|
||||
|
||||
--include */module.mk
|
||||
+-include proc/module.mk
|
||||
+-include ps/module.mk
|
||||
|
||||
do_all: $(ALL)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
require procps.inc
|
||||
|
||||
PR = "r9"
|
||||
PR = "r10"
|
||||
|
||||
inherit update-rc.d update-alternatives
|
||||
|
||||
@@ -16,6 +16,7 @@ SRC_URI += "file://procmodule.patch;patch=1 \
|
||||
file://linux-limits.patch;patch=1 \
|
||||
file://sysctl.conf \
|
||||
file://procps.init \
|
||||
file://procps-3.2.8+gmake-3.82.patch \
|
||||
"
|
||||
|
||||
FILES = "${bindir}/top.${PN} ${base_bindir}/ps.${PN} ${bindir}/uptime.${PN} ${base_bindir}/kill.${PN} \
|
||||
|
||||
@@ -14,8 +14,8 @@ Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
|
||||
|
||||
Index: linux-2.6.34/include/linux/connector.h
|
||||
===================================================================
|
||||
--- linux-2.6.34.orig/include/linux/connector.h 2010-09-30 14:15:25.000000000 +0800
|
||||
+++ linux-2.6.34/include/linux/connector.h 2010-09-30 14:15:43.000000000 +0800
|
||||
--- linux-2.6.34.orig/include/linux/connector.h
|
||||
+++ linux-2.6.34/include/linux/connector.h
|
||||
@@ -48,7 +48,7 @@
|
||||
/*
|
||||
* Maximum connector's message size.
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
Index: linux-2.6.34/arch/powerpc/Makefile
|
||||
===================================================================
|
||||
--- linux-2.6.34.orig/arch/powerpc/Makefile
|
||||
+++ linux-2.6.34/arch/powerpc/Makefile
|
||||
@@ -158,9 +158,10 @@ drivers-$(CONFIG_OPROFILE) += arch/power
|
||||
# Default to zImage, override when needed
|
||||
all: zImage
|
||||
|
||||
-BOOT_TARGETS = zImage zImage.initrd uImage zImage% dtbImage% treeImage.% cuImage.% simpleImage.%
|
||||
+BOOT_TARGETS1 = zImage zImage.initrd uImage
|
||||
+BOOT_TARGETS2 = zImage% dtbImage% treeImage.% cuImage.% simpleImage.%
|
||||
|
||||
-PHONY += $(BOOT_TARGETS)
|
||||
+PHONY += $(BOOT_TARGETS1) $(BOOT_TARGETS2)
|
||||
|
||||
boot := arch/$(ARCH)/boot
|
||||
|
||||
@@ -175,10 +176,16 @@ relocs_check: arch/powerpc/relocs_check.
|
||||
zImage: relocs_check
|
||||
endif
|
||||
|
||||
-$(BOOT_TARGETS): vmlinux
|
||||
+$(BOOT_TARGETS1): vmlinux
|
||||
$(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@)
|
||||
|
||||
-bootwrapper_install %.dtb:
|
||||
+$(BOOT_TARGETS2): vmlinux
|
||||
+ $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@)
|
||||
+
|
||||
+bootwrapper_install:
|
||||
+ $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@)
|
||||
+
|
||||
+%.dtb:
|
||||
$(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@)
|
||||
|
||||
define archhelp
|
||||
@@ -2,11 +2,12 @@ require linux-libc-headers.inc
|
||||
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
DEPENDS += "unifdef-native"
|
||||
PR = "r1"
|
||||
PR = "r2"
|
||||
|
||||
SRC_URI += "file://hayes-gone.patch \
|
||||
file://ppc_glibc_build_fix.patch \
|
||||
file://connector-msg-size-fix.patch"
|
||||
file://ppc_glibc_build_fix.patch \
|
||||
file://make-382.patch \
|
||||
file://connector-msg-size-fix.patch"
|
||||
|
||||
S = "${WORKDIR}/linux-${PV}"
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
|
||||
|
||||
DEPENDS += "gst-plugins-base libmusicbrainz tremor"
|
||||
|
||||
PR = "r2"
|
||||
PR = "r3"
|
||||
|
||||
inherit gettext
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ DEPENDS += "virtual/libx11 alsa-lib freetype gnome-vfs liboil libogg libvorbis l
|
||||
RDEPENDS += "gnome-vfs-plugin-file gnome-vfs-plugin-http gnome-vfs-plugin-ftp \
|
||||
gnome-vfs-plugin-sftp"
|
||||
|
||||
PR = "r1"
|
||||
PR = "r2"
|
||||
|
||||
inherit gettext
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
|
||||
|
||||
DEPENDS += "gst-plugins-base gconf cairo jpeg libpng gtk+ zlib libid3tag flac \
|
||||
speex"
|
||||
PR = "r0"
|
||||
PR = "r1"
|
||||
|
||||
inherit gettext
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
|
||||
file://gst/mpegstream/gstmpegparse.h;beginline=1;endline=18;md5=ff65467b0c53cdfa98d0684c1bc240a9"
|
||||
|
||||
DEPENDS += "gst-plugins-base libid3tag libmad mpeg2dec liba52 lame"
|
||||
PR = "r0"
|
||||
PR = "r1"
|
||||
|
||||
inherit gettext
|
||||
|
||||
|
||||
@@ -7,7 +7,10 @@ DEPENDS = "gstreamer"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2"
|
||||
FILESPATH =. "${FILE_DIRNAME}/gst-plugins:"
|
||||
|
||||
SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2 \
|
||||
file://make-382.patch"
|
||||
|
||||
EXTRA_OECONF = "--disable-valgrind --disable-debug --disable-examples "
|
||||
|
||||
|
||||
25
meta/recipes-multimedia/gstreamer/gst-plugins/make-382.patch
Normal file
25
meta/recipes-multimedia/gstreamer/gst-plugins/make-382.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
Index: gst-plugins-base-0.10.29/common/gtk-doc-plugins.mak
|
||||
===================================================================
|
||||
--- gst-plugins-base-0.10.29.orig/common/gtk-doc-plugins.mak
|
||||
+++ gst-plugins-base-0.10.29/common/gtk-doc-plugins.mak
|
||||
@@ -352,7 +352,7 @@ dist-hook: dist-check-gtkdoc dist-hook-l
|
||||
-cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
|
||||
-cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
|
||||
cd $(distdir) && rm -f $(DISTCLEANFILES)
|
||||
- -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
|
||||
+ -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
|
||||
|
||||
.PHONY : dist-hook-local docs
|
||||
|
||||
Index: gst-plugins-base-0.10.29/common/gtk-doc.mak
|
||||
===================================================================
|
||||
--- gst-plugins-base-0.10.29.orig/common/gtk-doc.mak
|
||||
+++ gst-plugins-base-0.10.29/common/gtk-doc.mak
|
||||
@@ -232,6 +232,6 @@ dist-hook: dist-check-gtkdoc dist-hook-l
|
||||
-cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
|
||||
-cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
|
||||
cd $(distdir) && rm -f $(DISTCLEANFILES)
|
||||
- -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
|
||||
+ -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
|
||||
|
||||
.PHONY : dist-hook-local docs
|
||||
@@ -0,0 +1,32 @@
|
||||
The whitespaces instead of tabs here cause the new, stricter, parser in make
|
||||
3.82 to barf on the doc makefiles.
|
||||
|
||||
This patch should no longer be required in more recent gstreamer version
|
||||
|
||||
JL - 14/12/10
|
||||
|
||||
Index: gstreamer-0.10.29/common/gtk-doc.mak
|
||||
===================================================================
|
||||
--- gstreamer-0.10.29.orig/common/gtk-doc.mak
|
||||
+++ gstreamer-0.10.29/common/gtk-doc.mak
|
||||
@@ -232,6 +232,6 @@ dist-hook: dist-check-gtkdoc dist-hook-l
|
||||
-cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
|
||||
-cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
|
||||
cd $(distdir) && rm -f $(DISTCLEANFILES)
|
||||
- -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
|
||||
+ -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
|
||||
|
||||
.PHONY : dist-hook-local docs
|
||||
Index: gstreamer-0.10.29/common/gtk-doc-plugins.mak
|
||||
===================================================================
|
||||
--- gstreamer-0.10.29.orig/common/gtk-doc-plugins.mak
|
||||
+++ gstreamer-0.10.29/common/gtk-doc-plugins.mak
|
||||
@@ -352,7 +352,7 @@ dist-hook: dist-check-gtkdoc dist-hook-l
|
||||
-cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
|
||||
-cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
|
||||
cd $(distdir) && rm -f $(DISTCLEANFILES)
|
||||
- -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
|
||||
+ -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
|
||||
|
||||
.PHONY : dist-hook-local docs
|
||||
|
||||
@@ -9,11 +9,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605 \
|
||||
file://gst/gst.h;beginline=1;endline=21;md5=8e5fe5e87d33a04479fde862e238eaa4"
|
||||
DEPENDS = "glib-2.0 gettext libxml2 bison-native flex-native"
|
||||
|
||||
PR = "r0"
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI = "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.bz2 \
|
||||
file://check_fix.patch;patch=1 \
|
||||
file://gst-inspect-check-error.patch;patch=1"
|
||||
file://check_fix.patch \
|
||||
file://gst-inspect-check-error.patch \
|
||||
file://make-382.patch"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
|
||||
11
meta/recipes-sato/owl-video-widget/libowl-av/make-382.patch
Normal file
11
meta/recipes-sato/owl-video-widget/libowl-av/make-382.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
Index: libowl-av/Makefile.am
|
||||
===================================================================
|
||||
--- libowl-av.orig/Makefile.am
|
||||
+++ libowl-av/Makefile.am
|
||||
@@ -14,5 +14,5 @@ EXTRA_DIST = libowl-av.pc.in libowl-av.v
|
||||
MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub configure depcomp intltool-extract intltool-merge intltool-update install-sh ltmain.sh Makefile.in missing
|
||||
|
||||
snapshot:
|
||||
- $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
|
||||
+ $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
|
||||
|
||||
@@ -13,11 +13,12 @@ RDEPENDS = "gst-meta-base"
|
||||
RRECOMMENDS = "gst-meta-audio gst-meta-video"
|
||||
|
||||
PV = "0.0+svnr${SRCREV}"
|
||||
PR = "r4"
|
||||
PR = "r5"
|
||||
|
||||
S = "${WORKDIR}/${PN}"
|
||||
|
||||
SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=${PN};proto=http \
|
||||
file://gst_change_state.patch"
|
||||
file://gst_change_state.patch \
|
||||
file://make-382.patch"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
15
meta/recipes-sato/owl-video-widget/owl-video/make-382.patch
Normal file
15
meta/recipes-sato/owl-video-widget/owl-video/make-382.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
Make 3.82 is much stricter and demands tabs. Obey.
|
||||
|
||||
JL - 15/12/10
|
||||
|
||||
Index: video/Makefile.am
|
||||
===================================================================
|
||||
--- video.orig/Makefile.am
|
||||
+++ video/Makefile.am
|
||||
@@ -4,5 +4,5 @@ SUBDIRS = src
|
||||
MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub configure depcomp intltool-extract intltool-merge intltool-update install-sh ltmain.sh Makefile.in missing
|
||||
|
||||
snapshot:
|
||||
- $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
|
||||
+ $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
|
||||
|
||||
@@ -21,7 +21,8 @@ SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=video;proto=http \
|
||||
file://stock_volume-min.png \
|
||||
file://stock_volume-med.png \
|
||||
file://stock_volume-max.png \
|
||||
file://owl-video-widget.desktop"
|
||||
file://owl-video-widget.desktop \
|
||||
file://make-382.patch"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
|
||||
14
meta/recipes-sato/pimlico/contacts/make-382.patch
Normal file
14
meta/recipes-sato/pimlico/contacts/make-382.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
Fix for stricter parser in make 3.82. This fix has been pushed to upstream git.
|
||||
|
||||
JL - 15/12/10
|
||||
|
||||
Index: git/Makefile.am
|
||||
===================================================================
|
||||
--- git.orig/Makefile.am
|
||||
+++ git/Makefile.am
|
||||
@@ -11,4 +11,4 @@ DISTCLEANFILES = $(INTLTOOL_BUILT)
|
||||
MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub configure depcomp $(INTLTOOL_BUILT:=.in) install-sh ltmain.sh mkinstalldirs Makefile.in missing
|
||||
|
||||
snapshot:
|
||||
- $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
|
||||
+ $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
|
||||
@@ -6,11 +6,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
|
||||
file://src/contacts-gtk.c;endline=23;md5=e1ee9b9e72045f2d3aa44cf17313b46e"
|
||||
|
||||
PV = "0.12+git${SRCPV}"
|
||||
PR = "r0"
|
||||
PR = "r1"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRC_URI =+ "git://git.gnome.org/${PN};protocol=git"
|
||||
SRC_URI =+ "git://git.gnome.org/${PN};protocol=git \
|
||||
file://make-382.patch"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
16
meta/recipes-sato/pimlico/dates/make-382.patch
Normal file
16
meta/recipes-sato/pimlico/dates/make-382.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
Make 3.82 is offended by the use of spaces instead of tabs. This has been fixed
|
||||
in upstream git.
|
||||
|
||||
JL - 15/12/10
|
||||
|
||||
Index: git/Makefile.am
|
||||
===================================================================
|
||||
--- git.orig/Makefile.am
|
||||
+++ git/Makefile.am
|
||||
@@ -7,5 +7,5 @@ DISTCLEANFILES = intltool-extract intlto
|
||||
MAINTAINERCLEANFILES = $(DISTCLEANFILES) aclocal.m4 compile config.guess config.sub configure depcomp install-sh ltmain.sh Makefile.in missing
|
||||
|
||||
snapshot:
|
||||
- $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
|
||||
+ $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
|
||||
|
||||
@@ -6,8 +6,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
|
||||
file://src/gconf-bridge.c;endline=22;md5=ad7626c6daf4aec590474a243f4912fa"
|
||||
|
||||
PV = "0.4.11+git${SRCPV}"
|
||||
PR = "r0"
|
||||
PR = "r1"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRC_URI = "git://git.gnome.org/${PN};protocol=git"
|
||||
SRC_URI = "git://git.gnome.org/${PN};protocol=git \
|
||||
file://make-382.patch"
|
||||
|
||||
15
meta/recipes-sato/web/web-webkit/make-382.patch
Normal file
15
meta/recipes-sato/web/web-webkit/make-382.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
Make 3.82 does not allow 8 spaces instead of a tab
|
||||
|
||||
JL - 15/12/10
|
||||
|
||||
Index: webkit/Makefile.am
|
||||
===================================================================
|
||||
--- webkit.orig/Makefile.am
|
||||
+++ webkit/Makefile.am
|
||||
@@ -5,5 +5,5 @@ SUBDIRS = src data
|
||||
MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub configure depcomp install-sh ltmain.sh Makefile.in missing
|
||||
|
||||
snapshot:
|
||||
- $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
|
||||
+ $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
|
||||
|
||||
@@ -8,10 +8,11 @@ SECTION = "x11"
|
||||
DEPENDS = "libxml2 glib-2.0 gtk+ libglade webkit-gtk curl gconf js libowl"
|
||||
|
||||
PV = "0.0+svnr${SRCREV}"
|
||||
PR = "r2"
|
||||
PR = "r3"
|
||||
|
||||
SRC_URI = "svn://svn.o-hand.com/repos/web/branches;module=webkit;proto=http \
|
||||
file://link-with-g++.patch;patch=1"
|
||||
file://link-with-g++.patch \
|
||||
file://make-382.patch"
|
||||
|
||||
S = "${WORKDIR}/webkit"
|
||||
|
||||
|
||||
@@ -47,6 +47,11 @@ if [ ! -e "$ROOTFS_TARBALL" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Convert SDK_ROOTFS_DIR to a full pathname
|
||||
if [[ ${SDK_ROOTFS_DIR:0:1} != "/" ]]; then
|
||||
SDK_ROOTFS_DIR=$(pwd)/$SDK_ROOTFS_DIR
|
||||
fi
|
||||
|
||||
TAR_OPTS=""
|
||||
if [[ "$ROOTFS_TARBALL" =~ tar\.bz2$ ]]; then
|
||||
TAR_OPTS="-xjf"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Find a native sysroot to use - either from an in-tree Poky build or
|
||||
# from a toolchain installation in /opt/poky. It then ensures the variable
|
||||
# from a toolchain installation. It then ensures the variable
|
||||
# $POKY_NATIVE_SYSROOT is set to the sysroot's base directory, and sets
|
||||
# $PSEUDO to the path of the pseudo binary.
|
||||
#
|
||||
|
||||
@@ -31,9 +31,9 @@ usage() {
|
||||
echo " serial - enables a serial console on /dev/ttyS0"
|
||||
echo ""
|
||||
echo "Examples:"
|
||||
echo " $0 qemuarm"
|
||||
echo " $0 qemux86-64 poky-image-sato ext3"
|
||||
echo " $0 path/to/bzImage-qemux86.bin path/to/nfsrootdir/ serial"
|
||||
echo " $MYNAME qemuarm"
|
||||
echo " $MYNAME qemux86-64 poky-image-sato ext3"
|
||||
echo " $MYNAME path/to/bzImage-qemux86.bin path/to/nfsrootdir/ serial"
|
||||
exit 1
|
||||
}
|
||||
|
||||
@@ -51,6 +51,37 @@ SCRIPT_KERNEL_OPT=""
|
||||
|
||||
TMPDIR=""
|
||||
|
||||
# Determine whether the file is a kernel or QEMU image, and set the
|
||||
# appropriate variables
|
||||
process_filename() {
|
||||
filename=$1
|
||||
|
||||
# Extract the filename extension
|
||||
EXT=`echo $filename | awk -F . '{ print \$NF }'`
|
||||
# A file ending in .bin is a kernel
|
||||
if [ "x$EXT" = "xbin" ]; then
|
||||
if [ -z "$KERNEL" ]; then
|
||||
KERNEL=$filename
|
||||
else
|
||||
echo "Error: conflicting KERNEL args [$KERNEL] and [$filename]"
|
||||
usage
|
||||
fi
|
||||
elif [[ "x$EXT" == "xext2" || "x$EXT" == "xext3" ||
|
||||
"x$EXT" == "xjffs2" ]]; then
|
||||
# A file ending in a supportted fs type is a rootfs image
|
||||
if [[ -z "$FSTYPE" || "$FSTYPE" == "$EXT" ]]; then
|
||||
FSTYPE=$EXT
|
||||
ROOTFS=$filename
|
||||
else
|
||||
echo "Error: conflicting FSTYPE types [$FSTYPE] and [$EXT]"
|
||||
usage
|
||||
fi
|
||||
else
|
||||
echo "Error: unknown file arg [$filename]"
|
||||
usage
|
||||
fi
|
||||
}
|
||||
|
||||
# Parse command line args without requiring specific ordering. It's a
|
||||
# bit more complex, but offers a great user experience.
|
||||
i=1
|
||||
@@ -66,7 +97,7 @@ while [ $i -le $# ]; do
|
||||
fi
|
||||
;;
|
||||
"ext2" | "ext3" | "jffs2" | "nfs")
|
||||
if [ -z "$FSTYPE" ]; then
|
||||
if [[ -z "$FSTYPE" || "$FSTYPE" == "$arg" ]]; then
|
||||
FSTYPE=$arg
|
||||
else
|
||||
echo "Error: conflicting FSTYPE types [$FSTYPE] and [$arg]"
|
||||
@@ -75,8 +106,8 @@ while [ $i -le $# ]; do
|
||||
;;
|
||||
*-image-*)
|
||||
if [ -z "$ROOTFS" ]; then
|
||||
if [ -e "$arg" ]; then
|
||||
ROOTFS=$arg
|
||||
if [ -f "$arg" ]; then
|
||||
process_filename $arg
|
||||
else
|
||||
ROOTFS=$arg
|
||||
LAZY_ROOTFS="true"
|
||||
@@ -111,30 +142,7 @@ while [ $i -le $# ]; do
|
||||
usage
|
||||
fi
|
||||
elif [ -f "$arg" ]; then
|
||||
# Extract the filename extension
|
||||
EXT=`echo $arg | awk -F . '{ print \$NF }'`
|
||||
# A file ending in .bin is a kernel
|
||||
if [ "x$EXT" = "xbin" ]; then
|
||||
if [ -z "$KERNEL" ]; then
|
||||
KERNEL=$arg
|
||||
else
|
||||
echo "Error: conflicting KERNEL args [$KERNEL] and [$arg]"
|
||||
usage
|
||||
fi
|
||||
elif [[ "x$EXT" == "xext2" || "x$EXT" == "xext3" ||
|
||||
"x$EXT" == "xjffs2" ]]; then
|
||||
# A file ending in a supportted fs type is a rootfs image
|
||||
if [[ -z "$FSTYPE" || "$FSTYPE" == "$EXT" ]]; then
|
||||
FSTYPE=$EXT
|
||||
ROOTFS=$arg
|
||||
else
|
||||
echo "Error: conflicting FSTYPE types [$FSTYPE] and [$arg]"
|
||||
usage
|
||||
fi
|
||||
else
|
||||
echo "Error: unknown file arg [$arg]"
|
||||
usage
|
||||
fi
|
||||
process_filename $arg
|
||||
else
|
||||
echo "Error: unable to classify arg [$arg]"
|
||||
usage
|
||||
@@ -155,7 +163,7 @@ if [[ "$FSTYPE" == "nfs" && -z "$ROOTFS" ]]; then
|
||||
fi
|
||||
|
||||
if [ -z "$MACHINE" ]; then
|
||||
MACHINE=`basename $KERNEL | sed -r -e 's#.*-([a-z]+[0-9\-]*)-?[0-9]*..*#\1#'`
|
||||
MACHINE=`basename $KERNEL | sed 's/.*-\(qemux86-64\|qemux86\|qemuarm\|qemumips\|qemuppc\).*/\1/'`
|
||||
if [ -z "$MACHINE" ]; then
|
||||
echo "Error: Unable to set MACHINE from kernel filename [$KERNEL]"
|
||||
usage
|
||||
@@ -196,7 +204,7 @@ SPITZ_DEFAULT_ROOTFS="poky-image-sato"
|
||||
|
||||
setup_tmpdir() {
|
||||
if [ -z "$TMPDIR" ]; then
|
||||
if [ "x$BUILDDIR" = "x" ]; then
|
||||
if [ "x$BUILDDIR" = "x" -o ! -d "$BUILDDIR/tmp" ]; then
|
||||
# BUILDDIR unset, try and get TMPDIR from bitbake
|
||||
type -P bitbake &>/dev/null || {
|
||||
echo "In order for this script to dynamically infer paths";
|
||||
@@ -205,23 +213,29 @@ setup_tmpdir() {
|
||||
echo "before running this script" >&2;
|
||||
exit 1; }
|
||||
|
||||
# We have bitbake in PATH, get TMPDIR and BUILD_SYS
|
||||
# from the environment
|
||||
# We have bitbake in PATH, get TMPDIR from bitbake
|
||||
TMPDIR=`bitbake -e | grep TMPDIR=\" | cut -d '=' -f2 | cut -d '"' -f2`
|
||||
BUILD_SYS=`bitbake -e | grep BUILD_SYS=\" | cut -d '=' -f2 | cut -d '"' -f2`
|
||||
else
|
||||
BUILD_ARCH=`uname -m`
|
||||
BUILD_OS=`uname | tr '[A-Z]' '[a-z]'`
|
||||
BUILD_SYS="$BUILD_ARCH-$BUILD_OS"
|
||||
TMPDIR=$BUILDDIR/tmp
|
||||
fi
|
||||
if [ -z "$POKY_NATIVE_SYSROOT" ]; then
|
||||
POKY_NATIVE_SYSROOT=$TMPDIR/sysroots/$BUILD_SYS
|
||||
fi
|
||||
CROSSPATH=$POKY_NATIVE_SYSROOT/usr/bin
|
||||
fi
|
||||
}
|
||||
|
||||
setup_sysroot() {
|
||||
# Toolchain installs set up $POKY_NATIVE_SYSROOT in their
|
||||
# environment script. If that variable isn't set, we're
|
||||
# either in an in-tree poky scenario or the environment
|
||||
# script wasn't source'd.
|
||||
if [ -z "$POKY_NATIVE_SYSROOT" ]; then
|
||||
setup_tmpdir
|
||||
BUILD_ARCH=`uname -m`
|
||||
BUILD_OS=`uname | tr '[A-Z]' '[a-z]'`
|
||||
BUILD_SYS="$BUILD_ARCH-$BUILD_OS"
|
||||
|
||||
POKY_NATIVE_SYSROOT=$TMPDIR/sysroots/$BUILD_SYS
|
||||
fi
|
||||
}
|
||||
|
||||
# Locate a rootfs image based on defaults defined above
|
||||
findimage() {
|
||||
where=$1
|
||||
@@ -246,8 +260,6 @@ findimage() {
|
||||
}
|
||||
|
||||
if [[ -e "$ROOTFS" && -z "$FSTYPE" ]]; then
|
||||
setup_tmpdir
|
||||
|
||||
# Extract the filename extension
|
||||
EXT=`echo $ROOTFS | awk -F . '{ print \$NF }'`
|
||||
if [[ "x$EXT" == "xext2" || "x$EXT" == "xext3" ||
|
||||
@@ -273,7 +285,6 @@ fi
|
||||
# KERNEL is now set for all cases
|
||||
|
||||
if [ -z "$FSTYPE" ]; then
|
||||
setup_tmpdir
|
||||
eval FSTYPE=\$${machine2}_DEFAULT_FSTYPE
|
||||
|
||||
if [ -z "$FSTYPE" ]; then
|
||||
@@ -310,6 +321,9 @@ echo "KERNEL: [$KERNEL]"
|
||||
echo "ROOTFS: [$ROOTFS]"
|
||||
echo "FSTYPE: [$FSTYPE]"
|
||||
|
||||
setup_sysroot
|
||||
# POKY_NATIVE_SYSROOT is now set for all cases
|
||||
|
||||
# We can't run without a libGL.so
|
||||
libgl='no'
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
usage() {
|
||||
echo "sudo $0 <tap-dev> <native-sysroot-basedir>"
|
||||
echo "sudo $(basename $0) <tap-dev> <native-sysroot-basedir>"
|
||||
}
|
||||
|
||||
if [ $EUID -ne 0 ]; then
|
||||
@@ -46,13 +46,6 @@ NATIVE_SYSROOT_DIR=$2
|
||||
TUNCTL=$NATIVE_SYSROOT_DIR/usr/bin/tunctl
|
||||
if [ ! -e "$TUNCTL" ]; then
|
||||
echo "Error: Unable to find tunctl binary in '$NATIVE_SYSROOT_DIR/usr/bin'"
|
||||
|
||||
if [[ "$NATIVE_SYSROOT_DIR" =~ ^\/opt\/poky ]]; then
|
||||
echo "This shouldn't happen - something is wrong with your toolchain installation"
|
||||
else
|
||||
echo "Have you run 'bitbake meta-ide-support'?"
|
||||
fi
|
||||
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
usage() {
|
||||
echo "sudo $0 <gid> <native-sysroot-basedir>"
|
||||
echo "sudo $(basename $0) <gid> <native-sysroot-basedir>"
|
||||
}
|
||||
|
||||
if [ $EUID -ne 0 ]; then
|
||||
@@ -53,13 +53,6 @@ NATIVE_SYSROOT_DIR=$2
|
||||
TUNCTL=$NATIVE_SYSROOT_DIR/usr/bin/tunctl
|
||||
if [ ! -x "$TUNCTL" ]; then
|
||||
echo "Error: Unable to find tunctl binary in '$NATIVE_SYSROOT_DIR/usr/bin'"
|
||||
|
||||
if [[ "$NATIVE_SYSROOT_DIR" =~ ^\/opt\/poky ]]; then
|
||||
echo "This shouldn't happen - something is wrong with your toolchain installation"
|
||||
else
|
||||
echo "Have you run 'bitbake meta-ide-support'?"
|
||||
fi
|
||||
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
@@ -394,23 +394,9 @@ if [ "x$QEMUOPTIONS" = "x" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
SDKDIR="/opt/poky/sysroots"
|
||||
if [ "$MACHINE" = "qemuarm" -o "$MACHINE" = "spitz" -o "$MACHINE" = "borzoi" -o "$MACHINE" = "akita" -o "$MACHINE" = "nokia800" ]; then
|
||||
SDKPATH="$SDKDIR/arm-poky-linux-gnueabi/bin"
|
||||
fi
|
||||
|
||||
if [ "$MACHINE" = "qemux86" ]; then
|
||||
SDKPATH="$SDKDIR/i586-poky-linux/bin"
|
||||
fi
|
||||
|
||||
if [ "$MACHINE" = "qemux86-64" ]; then
|
||||
SDKPATH="$SDKDIR/x86_64-poky-linux/bin"
|
||||
fi
|
||||
|
||||
PATH=$CROSSPATH:$SDKPATH:$PATH
|
||||
PATH=$CROSSPATH:$POKY_NATIVE_SYSROOT/usr/bin:$PATH
|
||||
|
||||
QEMUBIN=`which $QEMU`
|
||||
|
||||
if [ ! -x "$QEMUBIN" ]; then
|
||||
echo "Error: No QEMU binary '$QEMU' could be found."
|
||||
cleanup
|
||||
|
||||
Reference in New Issue
Block a user