* [PATCH 0/2] Add MACHINEOVERRIDES variable to bitbake.conf
@ 2011-05-13 18:45 Khem Raj
2011-05-13 18:45 ` [PATCH 1/2] conf/bitbake.conf: Add MACHINEOVERRIDES variable Khem Raj
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Khem Raj @ 2011-05-13 18:45 UTC (permalink / raw)
To: OE core
Pull URL: git://git.openembedded.org/openembedded-core-contrib
Branch: kraj/misc-fixes
Browse: http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/misc-fixes
Thanks,
Khem Raj <raj.khem@gmail.com>
---
Khem Raj (2):
conf/bitbake.conf: Add MACHINEOVERRIDES variable
util-linux: inherit pkgconfig
meta/conf/bitbake.conf | 3 ++-
meta/recipes-core/util-linux/util-linux.inc | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
--
1.7.4.1
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH 1/2] conf/bitbake.conf: Add MACHINEOVERRIDES variable
2011-05-13 18:45 [PATCH 0/2] Add MACHINEOVERRIDES variable to bitbake.conf Khem Raj
@ 2011-05-13 18:45 ` Khem Raj
2011-05-13 18:46 ` [PATCH 2/2] util-linux: inherit pkgconfig Khem Raj
2011-05-17 18:31 ` [PATCH 0/2] Add MACHINEOVERRIDES variable to bitbake.conf Saul Wold
2 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2011-05-13 18:45 UTC (permalink / raw)
To: OE core
By defualt it points to $MACHINE but sometimes its desired
to have more than one overrides stemming out of a machine
then they can be added to MACHINEOVERRIDES.
e.g. MACHINEOVERRIDES = "${MACHINE}:nslu2"
Note that if you redefine MACHINEOVERRIDES then default
override for machine has to be added to it explicitly
otherwise it will get lost.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/conf/bitbake.conf | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 7c72de1..8b6236e 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -610,8 +610,9 @@ AUTO_LIBNAME_PKGS = "${PACKAGES}"
#
# 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}:${DISTROOVERRIDES}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}:forcevariable"
+OVERRIDES = "local:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}:forcevariable"
DISTROOVERRIDES ?= "${DISTRO}"
+MACHINEOVERRIDES ?= "${MACHINE}"
CPU_FEATURES ?= ""
CPU_FEATURES_arm ?= "vfp"
--
1.7.4.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 2/2] util-linux: inherit pkgconfig
2011-05-13 18:45 [PATCH 0/2] Add MACHINEOVERRIDES variable to bitbake.conf Khem Raj
2011-05-13 18:45 ` [PATCH 1/2] conf/bitbake.conf: Add MACHINEOVERRIDES variable Khem Raj
@ 2011-05-13 18:46 ` Khem Raj
2011-05-17 18:31 ` [PATCH 0/2] Add MACHINEOVERRIDES variable to bitbake.conf Saul Wold
2 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2011-05-13 18:46 UTC (permalink / raw)
To: OE core
Configure of util-linux used pkg-config to poke for gtk-doc versions
so we need this dependency on pkgconfig
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-core/util-linux/util-linux.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 447e5b7..489ec1a 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = "file://README.licensing;md5=1530e36fe1304d4535513de90a290df9
file://licenses/COPYING.UCB;md5=263860f8968d8bafa5392cab74285262 \
file://getopt/COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
-inherit autotools gettext
+inherit autotools gettext pkgconfig
DEPENDS = "zlib ncurses"
DEPENDS_virtclass-native_append = " lzo-native"
--
1.7.4.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH 0/2] Add MACHINEOVERRIDES variable to bitbake.conf
2011-05-13 18:45 [PATCH 0/2] Add MACHINEOVERRIDES variable to bitbake.conf Khem Raj
2011-05-13 18:45 ` [PATCH 1/2] conf/bitbake.conf: Add MACHINEOVERRIDES variable Khem Raj
2011-05-13 18:46 ` [PATCH 2/2] util-linux: inherit pkgconfig Khem Raj
@ 2011-05-17 18:31 ` Saul Wold
2 siblings, 0 replies; 4+ messages in thread
From: Saul Wold @ 2011-05-17 18:31 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 05/13/2011 11:45 AM, Khem Raj wrote:
>
>
> Pull URL: git://git.openembedded.org/openembedded-core-contrib
> Branch: kraj/misc-fixes
> Browse: http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/misc-fixes
>
> Thanks,
> Khem Raj<raj.khem@gmail.com>
> ---
>
>
> Khem Raj (2):
> conf/bitbake.conf: Add MACHINEOVERRIDES variable
> util-linux: inherit pkgconfig
>
> meta/conf/bitbake.conf | 3 ++-
> meta/recipes-core/util-linux/util-linux.inc | 2 +-
> 2 files changed, 3 insertions(+), 2 deletions(-)
>
Merged into oe-core
Thanks
Sau!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-05-17 18:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-13 18:45 [PATCH 0/2] Add MACHINEOVERRIDES variable to bitbake.conf Khem Raj
2011-05-13 18:45 ` [PATCH 1/2] conf/bitbake.conf: Add MACHINEOVERRIDES variable Khem Raj
2011-05-13 18:46 ` [PATCH 2/2] util-linux: inherit pkgconfig Khem Raj
2011-05-17 18:31 ` [PATCH 0/2] Add MACHINEOVERRIDES variable to bitbake.conf Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox