Remove layout_* variables and replace them with variables specific to the different classes. The layout variables were only useful for the native/cross classes and caused more confusion than they solved. They didn't scale to the sdk class. It now clear a small set of native/cross variables fulfil the needs. This patch also changes native.bbclass to use "/" as the STAGING_DIR which makes sense since we're installing binaries into the locations we're compiling them for. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 lines
372 B
BlitzBasic
13 lines
372 B
BlitzBasic
PR = "r7"
|
|
|
|
require gcc-${PV}.inc
|
|
require gcc-cross4.inc
|
|
require gcc-configure-cross.inc
|
|
require gcc-package-cross.inc
|
|
|
|
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
|
|
|
|
EXTRA_OECONF += "--disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
|
|
|
|
ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
|