generic-poky/meta/recipes-kernel
Darren Hart 5518885e41 linux-yocto: Use PACKAGE_ARCH in build dir
The current linux-yocto build dir (B) includes MACHINE. This has been
appropriate as kernels are typically built machine-specific. We have
recently introduced an intel-common type kernel which can be shared
across multiple machines sharing a common base (intel-core2-32,
intel-corei7-64). In these cases, the kernel is built for a something
more generic than MACHINE, and the current mechanism results in
something like this when building for MACHINE=sys940x (using intel-common):

tmp/work/core2-32-intel-common-poky-linux/linux-yocto-dev/ \
3.13++gitAUTOINC+e5d23e7879_889c6bec6b-r0/linux-sys940x-noemgd-standard-build

Note the descrepancy between core2-32-intel-common and
linux-sys940x-noemgd-standard-build. This becomes counterintuitive at
the very least when switching to another machine and attempting to reuse
this build. This patch swaps MACHINE for PACKAGE_ARCH (which is
typically MACHINE_ARCH for linux-yocto), resulting in the following
build path:

tmp/work/core2-32-intel-common-poky-linux/linux-yocto-dev/ \
3.13++gitAUTOINC+e5d23e7879_889c6bec6b-r0/linux-core2-32-intel-common-standard-build

The impact to existing MACHINEs is a replace of - with _ if MACHINE
contains one or more - charachters.

(From OE-Core rev: 54590cdb940b6145ac92729ebf9bb7e7e537f5e2)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-11 11:58:31 +00:00
..
blktrace Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
dtc remove the unnecessary protocol parameters 2013-08-30 16:23:46 +01:00
kern-tools Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
kexec kexec-tools: upgraded to 2.0.4 2013-05-12 09:37:30 +01:00
kmod kmod: Update to Rev 16 via git 2014-01-06 22:17:29 +00:00
latencytop Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
libpfm libpfm4_4.3.0.bb: use compatible host to limit arches 2013-03-05 13:14:51 +00:00
linux linux-yocto: Use PACKAGE_ARCH in build dir 2014-02-11 11:58:31 +00:00
linux-firmware linux-firmware: split out ATI/AMD Radeon firmware 2014-01-28 00:52:34 +00:00
linux-libc-headers Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
lttng lttng-ust: Move lttng-gen-tp to ${PN}-bin 2014-02-02 22:37:42 +00:00
modutils-initscripts Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
oprofile Revert "Add missing RDEPENDS of initscripts-functions" 2014-02-02 11:22:11 +00:00
perf perf: Disable warnings as errors for kernels 3.1+ 2013-12-09 18:01:44 +00:00
powertop powertop: upgrade to 2.5 2013-11-27 11:51:24 +00:00
sysprof Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
systemtap systemtap: add aarch64 support 2014-02-09 09:40:01 +00:00
trace-cmd Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00