Skip to contentSkip to conversation

bitbake.conf: Ignore MACHINE as dep for MACHINEOVERRIDES

PATCH In review Matthew McClintock 3 participants 4 messages Nov 29, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake.conf: Ignore MACHINE as dep for MACHINEOVERRIDES

This dependency causes binutils to get rebuilt for some of our parts that are the same TARGET_ARCH but different MACHINE.

---
Comments on this? It seems like it might be better to some do this in the actual recipes (binutils, gcc-cross, etc) and not globally. However, I'm not really sure what goes in MACHINEOVERIDES in general and if it could be something that would cause sstate-cache to be invalid althogh I could image some scenarios.

 meta/conf/bitbake.conf |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
meta/conf/bitbake.conf +1 -0
index b4335c9..48ae458 100644
@@ -659,6 +659,7 @@ AUTO_LIBNAME_PKGS = "${PACKAGES}"
 OVERRIDES = "${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:pn-${PN}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:forcevariable"
 DISTROOVERRIDES ?= "${DISTRO}"
 MACHINEOVERRIDES ?= "${MACHINE}"
+MACHINEOVERRIDES[vardepsexclude] += "MACHINE"
 
 CPU_FEATURES ?= ""
 CPU_FEATURES_arm ?= "vfp"
Signature · 1 line
1.7.6.1
#1 lore raw
Quoted 29 lines · Matthew McClintock

This dependency causes binutils to get rebuilt for some of our parts that are the same TARGET_ARCH but different MACHINE.

---
Comments on this? It seems like it might be better to some do this in the actual recipes (binutils, gcc-cross, etc) and not globally. However, I'm not really sure what goes in MACHINEOVERIDES in general and if it could be something that would cause sstate-cache to be invalid althogh I could image some scenarios.

 meta/conf/bitbake.conf |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
meta/conf/bitbake.conf +1 -0
index b4335c9..48ae458 100644
@@ -659,6 +659,7 @@ AUTO_LIBNAME_PKGS = "${PACKAGES}"
 OVERRIDES = "${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:pn-${PN}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:forcevariable"
 DISTROOVERRIDES ?= "${DISTRO}"
 MACHINEOVERRIDES ?= "${MACHINE}"
+MACHINEOVERRIDES[vardepsexclude] += "MACHINE"
 
 CPU_FEATURES ?= ""
 CPU_FEATURES_arm ?= "vfp"
Signature · 1 line
1.7.6.1

is this of oe-core/master?

I see similar commit in 362512b83775ad7020e5870a594f0e7ca9ef83ba

Cheers,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw
Quoted 26 lines · Martin Jansa
Quoted 25 lines · Matthew McClintock

This dependency causes binutils to get rebuilt for some of our parts that are the same TARGET_ARCH but different MACHINE.

---
Comments on this? It seems like it might be better to some do this in the actual recipes (binutils, gcc-cross, etc) and not globally. However, I'm not really sure what goes in MACHINEOVERIDES in general and if it could be something that would cause sstate-cache to be invalid althogh I could image some scenarios.

 meta/conf/bitbake.conf |    1 +

 1 files changed, 1 insertions(+), 0 deletions(-)
meta/conf/bitbake.conf +0 -0
index b4335c9..48ae458 100644
@@ -659,6 +659,7 @@ AUTO_LIBNAME_PKGS = "${PACKAGES}"

 OVERRIDES = "${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:pn-${PN}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:forcevariable" DISTROOVERRIDES ?= "${DISTRO}"
 MACHINEOVERRIDES ?= "${MACHINE}"
+MACHINEOVERRIDES[vardepsexclude] += "MACHINE"

Quoted 8 lines
Quoted 4 lines

 CPU_FEATURES ?= ""
 CPU_FEATURES_arm ?= "vfp"
--
1.7.6.1

is this of oe-core/master?

I see similar commit in 362512b83775ad7020e5870a594f0e7ca9ef83ba

It appears this has already been fixed. I was working on edison 1.1. Thanks!

-M

#3 lore raw
Quoted 17 lines · Matthew McClintock
Quoted 17 lines
Quoted 10 lines
meta/conf/bitbake.conf +0 -0
index b4335c9..48ae458 100644
@@ -659,6 +659,7 @@ AUTO_LIBNAME_PKGS = "${PACKAGES}"

 OVERRIDES = "${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:pn-${PN}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:forcevariable" DISTROOVERRIDES ?= "${DISTRO}"
 MACHINEOVERRIDES ?= "${MACHINE}"
+MACHINEOVERRIDES[vardepsexclude] += "MACHINE"

Quoted 4 lines

 CPU_FEATURES ?= ""
 CPU_FEATURES_arm ?= "vfp"
--
1.7.6.1

is this of oe-core/master?

Quoted 3 lines
Quoted 1 line

I see similar commit in 362512b83775ad7020e5870a594f0e7ca9ef83ba

It appears this has already been fixed. I was working on edison 1.1. Thanks!

Richard,

Instead of possibly repeating this same exercise. Can you summarize all the sstate-cache patches you have pushed into master last week?

(I could start cherry-picking and testing, but I hope it's not too much to ask for a quick and dirty list...)

-M