Commit Graph

9177 Commits

Author SHA1 Message Date
Nitin A Kamble 75b90f1d6d binutils: add binutils_poison.patch
and also correct the license field in the recipe

This fixes [BUGID #245]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-09-08 16:36:52 -07:00
Joshua Lock 3e7db72216 bitbake: save the initial PATH for use when starting a subprocess
It was possible for bitbake-runtime to be run against a semi-installed
python-native resulting in tracebacks with ImportError's.

To prevent this we stash the initial PATH in the BBConfiguration when bitbake
is started and then set this in the env when launching bitbake-runtask through
subprocesses Popen() call.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-09-08 19:22:37 +01:00
Joshua Lock 8be5593777 kernel.bbclass/linux-wrs: move definition of perf package to kernel class
By defining the perf package in the shared kernel class bitbake will be able to
find the package provider even when the preferred kernel doesn't build perf,
preventing dependency resolution failures.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-09-08 16:42:52 +01:00
Richard Purdie fac3ca94a2 package.bbclass: Ensure all packages package when running a build
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-08 15:55:10 +01:00
Joshua Lock 04b8511614 bitbake/fetch/git: fix try_premirror() definition .Method takes 4 parameters.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-09-08 15:14:07 +01:00
Joshua Lock 3341e47b52 bitbake/fetch: fix by moving try_premirror() to the right place
The previous commit didn't define the method as part of the Fetch object

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-09-08 15:09:07 +01:00
Dexuan Cui 3010c96a3f powertop: fix a typo: REPENDS ==> RDEPENDS
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2010-09-08 14:48:11 +01:00
Kevin Tian c519aec68c libzypp: workaround to pass mips build
libzypp failed due to GCC "internal compiler error: segmentation fault" error on
MIPS target. The cause is about boost tribool type usage. If having assignement
within conditional check as below:

	if ( (a = b) )
		...
<a is a tribool type, b is a normal bool type>

then gcc4.3.3 throws internal error. Then the workaround is to move assignement
out of the conditional check.

However I didn't find same case from web.

We can come back to recheck this issue after upgrading to gcc4.5.0 for MIPS. If
this issue is still there, we'll need more analysis to decide whether to report
to gcc upstream or to libzypp upstream.

This fixes [BUGID #277]

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-09-08 14:39:00 +01:00
Kevin Tian 7892add2de sat-solver: change /usr/lib64 to /usr/lib
we use /usr/lib for x86-64 target, but sat-solver will use /usr/lib64 if 64bit
target arch is detected. This finally causes libzypp failed to find libsatsolver.a.
use "-DLIB=lib" to explicitly enforce the requirement

fix [BUGID #286]

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-09-08 14:38:37 +01:00
Joshua Lock 7117a4458b bitbake/fetch: add try_premirror method and special case git fetcher
Add a new method, try_premirror, to the Fetch object which checks to see
whether the file needs to be fetched from a premirror.
Override this in the Git fetcher to only require a pre-mirror fetch when the
clone directory does not exist.

Fixes [BUGID 290]

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-09-08 14:25:24 +01:00
Richard Purdie 7b580b488c bitbake/bitbake-runtask: Ensure signals to the parent don't pass to the children directly
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-07 23:54:15 +01:00
Richard Purdie 7ef65593aa qemu: Apply fix for armv6 locale generation using TLS registers
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-07 22:29:28 +01:00
Richard Purdie 51dd0269bc ldconfig-native: Set LICENSE
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-07 18:08:01 +01:00
Richard Purdie e8518d4b2e poky-image: Set LICENSE field for the image recipes (note this doesn't apply to the image contents, just the recipe and code used
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-07 18:05:16 +01:00
Richard Purdie fb617bed6e poky-image: Set LICENSE field for the image recipes (note this doesn't apply to the image contents, just the recipe and code used
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-07 18:03:51 +01:00
Richard Purdie 8ee9aff079 tasks: Set LICENSE field
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-07 17:55:00 +01:00
Yu Ke b49bfb2244 QT4 mips: disable the LDFLAGS "-Bsymbolic-functions"
"-Bsymbolic-functions" flag makes ld to bind the global function symbol of shared library at compiling time, thus reduce the runtime relocation cost.

However, this flag in binutil 2.20 cause QT4 mips building failure, which is "final link failed: Bad value" error in libQtWebKit.so linking stage. If downgrad to binutil 2.19, this error disappears.

so before binutil new release is out, it is better to disable this flag for QT4 mips.

Fix [BUGID #271]

Signed-off-by: Yu Ke <ke.yu@intel.com>
2010-09-07 15:58:10 +01:00
Richard Purdie b86a5977e1 linux: Fix the compulab image post deploy function by making it a postfunc
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-07 15:16:31 +01:00
Richard Purdie e8fdc98779 sstate: Make sure the sstate function is the last to run, not the first
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-07 15:16:31 +01:00
Richard Purdie 7e46fc81d4 pseudo: Honour the NO32LIBS variable
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-07 15:16:31 +01:00
Richard Purdie 647713050b bitbake/codeparser: Deal with functions with trailing whitespace
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-07 14:33:53 +01:00
Richard Purdie 1c24729697 udev: Drop old versions
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-07 12:10:26 +01:00
Richard Purdie 85cf6f3e97 poky-default.inc: Use standard udev version for PPC, seems to work fine
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-07 12:10:26 +01:00
Joshua Lock 9b800fe261 scripts: use the exported POKY_NATIVE_SYSROOT variable
Rather than trying to determine things through guess-work use the newly
exported variables to determine where the native binaries reside and
whether we are running in a build directory or not.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-09-07 11:22:54 +01:00
Joshua Lock c97f3a5df4 toolchain-scripts: export extra variables for use by scripts
Export the location of the native sysroot for use in the scripts to
determine the location of native binaries.

Also add a POKY_DISTRO_VERSION to the external toolchain environment as a
method of determining if we're running under a build directory or not
i.e. not if the variable is empty

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-09-07 11:22:54 +01:00
Joshua Lock 13ef707ab1 runqemu-nfs: check for required programs
The unfs server requires either rpcbind or portmap to be installed and
running to start so check for their presence in the script.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-09-07 10:48:21 +01:00
Richard Purdie f57a3d9508 linux-wrs: Ensure S directory exists else task can fail
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-06 23:18:28 +01:00
Richard Purdie d17a09376d gcc-crosssdk-initial: Ensure native dependencies are built, these can differ accross different gcc versions causing build failures
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-06 22:55:49 +01:00
Bruce Ashfield fea28c22f4 kernel/wrs: update SRCREV for v2.6.34.6 + changes
Updating the SRCREVs for the recent port of bug fixes for all boards
and the integration of qemux86-64 config and connector changes.

Now that the qemux86-64 changes are in tree, we can drop them from
the linux-wrs recipe.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-09-06 16:15:31 +01:00
Kevin Tian e359e25dc7 task-poky-tools.bb: avoid multiple RRECOMMENDS to override each other
there're two RRECOMMENDS_task-poky-tools-profile both using direct assignment,
which makes 'perf' overriden by "kernel-module-oprofile"

Fix [BUGID #97]

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-09-06 15:59:45 +01:00
Richard Purdie 95b2d9395e poky-default-revisions.inc: Move SRCREVs to correct locations, fix whitespace
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-06 14:56:57 +01:00
Joshua Lock b78d5368cc fetch: fix setting of localpath in SRC_URI parameters
When setting localpath in the SRC_URI parameters the basename should be set
explicitly as the localpath() method is not called.

Fixes [BUGID #81]

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-09-06 14:32:31 +01:00
Richard Purdie aa3d81f67c poky-default.inc: Make sure sdk version of gcc is fixed and doesn't change
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-06 14:31:35 +01:00
Saul Wold e013185ac1 tasks-poky-basic and tasks-poky-qt: bump PR and remove at
Remove at since it's failing build
Add Zypper to lsb image

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-09-04 17:12:55 -07:00
Saul Wold 18ea4d2a30 task-poky-qt.bb: Exclude mips from building
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-09-03 18:40:23 -07:00
Scott Garman d970584799 clutter-mozembed: move patches back into meta-moblin
These patches were mistakenly moved into meta/recipes-graphics/clutter
during the metadata reorg. This moves them back where they belong.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2010-09-03 18:33:25 -07:00
Mark Hatle c849ec75e7 rpm: Fix autoconf/libtool usage
In order to resolve a host-contamination problem, we re-work the way that
autoconf and friends are invoked during the compilation of RPM.

This has a side effect of fixing another bug where RPM was being renamed
HOST_ARCH-HOST_OS-rpm.  So we remove the "fixes" for that behavior as well.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-09-03 18:30:47 -07:00
Mark Hatle a9b715736f rootfs_rpm: Workaround for checksum changes
With the new checksum changes, the system is no longer able to determine
if the function resolve_package is used.  So it doesn't get emitted.  The
workaround resolves this by triggering an exit 0, followed by a bogus usage
of the function.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-09-03 18:30:47 -07:00
Qing He 7b017195a3 zypper: add new package
Signed-off-by: Saul Wold <saul.wold@intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
2010-09-03 18:30:17 -07:00
Qing He 162c652a2c libzypp: add new package
Signed-off-by: Saul Wold <saul.wold@intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
2010-09-03 18:30:16 -07:00
Qing He 1fb94b77f8 sat-solver: added new package
Signed-off-by: Saul Wold <saul.wold@intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
2010-09-03 18:30:16 -07:00
Qing He 079b70a76c augeas: add new package
version 0.7.3

Signed-off-by: Qing He <qing.he@intel.com>
2010-09-03 18:30:03 -07:00
Scott Garman 63f7b0a703 Fix broken references to libcheck
* check has been renamed to libcheck

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2010-09-03 23:31:07 +01:00
Richard Purdie 0843607a2b rpm: Change the way the python version is determined so its sane and works with checksumming
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-03 23:23:09 +01:00
Saul Wold 3e38d633c9 task-poky-qt: create a task and add to poky-image-sdk
Fixes [BUGID #260]

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-09-03 18:31:52 +01:00
Kevin Tian 41d02d40ed bootmisc.h: use "date -s" to set time
without "-s", 201009031653 would be interpreted incorrectly by date
and then we saw below warning:
	date: invalid date 165320100903

Fix [BUGID #265]

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-09-03 18:17:45 +01:00
Dexuan Cui e5fe433b14 distro-tracking: update lttng-ust, lttng-viewer
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2010-09-03 18:17:44 +01:00
Dexuan Cui 02c122cb5e lttng-viewer: upgrade to the latest version 0.12.35
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2010-09-03 18:17:44 +01:00
Dexuan Cui ee3e622999 lttng-ust: upgrade to the latest version 0.7
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2010-09-03 18:17:44 +01:00
Richard Purdie 33e2b4a8a7 poky.conf: Set hash policy
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-03 16:25:24 +01:00