From 8b70205e89a35cbfcea35460305387bdcfbab3a9 Mon Sep 17 00:00:00 2001 From: Ricardo Salveti de Araujo Date: Mon, 2 Nov 2009 20:47:00 -0300 Subject: [PATCH 012/118] bitbake.conf: Adding PRODUCT support. Now you can add a conf file under conf/product. These conf files intend to add customized configuration to vanilla distro configuration. You don't need to use this, in this case leave PRODUCT unset or set it as 'vanilla' Signed-off-by: Aloisio Almeida Jr Signed-off-by: Ricardo Salveti de Araujo --- conf/bitbake.conf | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) create mode 100644 conf/product/vanilla.conf diff --git a/conf/bitbake.conf b/conf/bitbake.conf index 3a68959..9a18be3 100644 --- a/conf/bitbake.conf +++ b/conf/bitbake.conf @@ -665,7 +665,7 @@ BUILDCFG_NEEDEDVARS ?= "TARGET_ARCH TARGET_OS" # # This works for functions as well, they are really just environment variables. # Default OVERRIDES to make compilation fail fast in case of build system misconfiguration. -OVERRIDES = "local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}" +OVERRIDES = "local:${MACHINE}:${PRODUCT}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}" # Alternative OVERRIDES definition without "fail fast", usually only for native building and Scratchbox toolchains. #OVERRIDES = "local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:pn-${PN}" @@ -681,10 +681,12 @@ include conf/local.conf # If a distro config overrides DISTRO for whatever reason (e.g. to get # overrides like it wants), USERDISTRO must be reassigned with := first USERDISTRO = "${DISTRO}" +PRODUCT ?= "vanilla" include conf/build/${BUILD_SYS}.conf include conf/target/${TARGET_SYS}.conf include conf/machine/${MACHINE}.conf include conf/distro/${DISTRO}.conf +include conf/product/${PRODUCT}.conf include conf/documentation.conf require conf/sanity.conf require conf/abi_version.conf diff --git a/conf/product/vanilla.conf b/conf/product/vanilla.conf new file mode 100644 index 0000000..e69de29 -- 1.6.3.3