generic-poky/meta
Ioan-Adrian Ratiu 3fa1c54a69 Revert "kernel/kernel-arch: Explicitly mapping between i386/x86_64 and x86 for kernel ARCH"
This reverts commit 8d310b24927d0f348fb431895f0583733db2aad0.

That commit completely breaks KBUILD_DEFCONFIG because it relies on
$ARCH to match between the target OE arch and the kernel subdirectory
containing the defconfigs. In the kernel all defconfigs for everything
x86-based (including x86_64) is stored in dir arch/x86/configs/

kernel-yocto.bbclass correctly searches for all the defconfigs inside
${S}/arch/${ARCH}/configs/${KBUILD_DEFCONFIG}

Commit 8d310b249 makes it search in wrong places and _only_ if you
define TARGET_ARCH = "athlon" will it search x86 which is nonsensical.

The commit further adds an if clause to hack the mungled kernel arches
back to their original values (ugh) in do_shared_workdir which is run
after do compile, but of course the build breaks before that in
do_kernel_metadata because of the KBUILD_DEFCONFIG mentioned above (so
that hack is useless).

Please fix that corner case bug in another way which does not completely
screw up the kernel arch mapping & defconfig logic. If 64bit configs are
generated in the kernel for 32bit machines because the host is asked,
then it it a bug in the kernel, it is of no use to hack around it in OE.

(From OE-Core rev: bc02a478a5d4a5de7b3943ed809d5c22711f5b1f)

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-04 23:39:02 +00:00
..
classes Revert "kernel/kernel-arch: Explicitly mapping between i386/x86_64 and x86 for kernel ARCH" 2016-02-04 23:39:02 +00:00
conf meta: add ASSUME_PROVIDED dependency on wget-native for http fetches 2016-02-04 23:39:01 +00:00
files toolchain-shar-extract.sh: improve behaviour when xz is not installed 2016-01-24 09:40:33 +00:00
lib copy_buildsystem: add ability to exclude layers 2016-02-04 23:39:01 +00:00
recipes-bsp formfactor: add machconfig for qemumips64 2016-02-04 23:39:01 +00:00
recipes-connectivity openssl: Explicitly set EXTRA_OEMAKE as required 2016-02-04 13:09:56 +00:00
recipes-core ncurses: use closing curly brackets in FILES_${PN}-tools variable 2016-02-04 23:39:01 +00:00
recipes-devtools python-pycurl: remove unnecessary exports 2016-02-04 23:39:00 +00:00
recipes-extended mktemp: lower the priority of standalone mktemp package 2016-02-04 23:39:01 +00:00
recipes-gnome gtk+3: Tweak getVar to use True, not 1 2016-02-04 23:39:00 +00:00
recipes-graphics libxsettings-client: drop obsolete disable_Os_option.patch 2016-02-04 23:39:01 +00:00
recipes-kernel systemtap_git.inc: do not immediate expand SELECTED_OPTIMIZATION 2016-01-31 13:29:48 +00:00
recipes-lsb4 libpng12: upgrade to 1.2.56 2016-01-24 09:40:20 +00:00
recipes-multimedia gstreamer1.0-plugins-base: Add video crop supporting when convert frame 2016-01-31 13:29:49 +00:00
recipes-rt rt-tests: Fix build with non-gcc compilers 2016-01-24 09:40:28 +00:00
recipes-sato Revert "matchbox-keyboard: export GTK_IM_MODULE_FILE location" 2016-02-02 14:44:16 +00:00
recipes-support p11-kit: fix packaging warnings 2016-02-04 23:19:42 +00:00
site site/common-linux: Add some macros to avoid sleeps during configure 2015-12-14 22:30:56 +00:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt qt4: remove recipes and classes 2016-01-07 13:40:14 +00:00