mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

When building one of the native, nativesdk or crosssdk packages TARGET_* variables' values are no longer related to the target we set via MACHINE variable, they are now related to the BUILD (native) or SDK (nativesdk, crosssdk) targets instead. We need to change TARGET_FPU variable accordingly or some of the recipes (the ones that check for TARGET_FPU value, most notably gcc and eglibc) might be confused. It's probably cleaner not to reset TARGET_FPU but to change it to something like ${BUILD_FPU} (for native) or ${SDK_FPU} (for crosssdk and nativesdk) but as long as BUILD and SDK are x86 it's safe to just reset TARGET_FPU. (From OE-Core rev: 0d4ea5d7486dc35001582bef3ff6ebfad0606bda) Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 lines
714 B
Plaintext
22 lines
714 B
Plaintext
inherit cross
|
|
|
|
BASE_PACKAGE_ARCH = "${SDK_ARCH}"
|
|
PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}"
|
|
STAGING_DIR_TARGET = "${STAGING_DIR}/${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}"
|
|
|
|
TARGET_ARCH = "${SDK_ARCH}"
|
|
TARGET_VENDOR = "${SDK_VENDOR}"
|
|
TARGET_OS = "${SDK_OS}"
|
|
TARGET_PREFIX = "${SDK_PREFIX}"
|
|
TARGET_CC_ARCH = "${SDK_CC_ARCH}"
|
|
TARGET_FPU = ""
|
|
|
|
target_libdir = "${SDKPATHNATIVE}${libdir_nativesdk}"
|
|
target_includedir = "${SDKPATHNATIVE}${includedir_nativesdk}"
|
|
target_base_libdir = "${SDKPATHNATIVE}${base_libdir_nativesdk}"
|
|
target_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}"
|
|
target_exec_prefix = "${SDKPATHNATIVE}${exec_prefix_nativesdk}"
|
|
|
|
do_populate_sysroot[stamp-extra-info] = ""
|
|
do_package[stamp-extra-info] = ""
|