It turns out writing the same list of packaging tasks multiple times in multiple places is error prone. Move this to a new class 'nopackages", migrate existing users and add glibc-initial and libgcc-initial since we don't want packages for those recipes. This means the sstate for those recipes won't be installed, saving small amounts of build time and bandwidth. A reference to the old package_write task is also dropped. (From OE-Core rev: cece583d58f82a50c3a4eac876eb326ac3b8f5e5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
484 B
PHP
20 lines
484 B
PHP
require libgcc-common.inc
|
|
|
|
DEPENDS = "virtual/${TARGET_PREFIX}gcc-initial"
|
|
|
|
LICENSE = "GPL-3.0-with-GCC-exception"
|
|
|
|
STAGINGCC = "gcc-cross-initial-${TARGET_ARCH}"
|
|
STAGINGCC_class-nativesdk = "gcc-crosssdk-initial-${TARGET_ARCH}"
|
|
PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:"
|
|
|
|
PACKAGES = ""
|
|
|
|
EXTRA_OECONF += "--disable-shared"
|
|
|
|
LIBGCCBUILDTREENAME = "gcc-build-internal-initial-"
|
|
|
|
do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_TCBOOTSTRAP}/"
|
|
|
|
inherit nopackages
|