From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] bitbake.conf: reverse OVERRIDES order in FILESPATH definition
Date: Sat, 16 Oct 2010 21:32:10 +0200 [thread overview]
Message-ID: <1287257530-25987-1-git-send-email-Martin.Jansa@gmail.com> (raw)
In-Reply-To: <AANLkTikrgw76+iAr8n3a3Kv+1joHN0ZAKTMcmOvNXrbU@mail.gmail.com>
* directories in FILESPATH are search for first fit and we would expect
ie ${PN}/local/a.patch to be used before ${PN}/ramses/a.patch
* moving last ':' before OVERRIDES makes FILESPATHBASE/FILESPATHPKG/ as
last option instead of first
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
conf/bitbake.conf | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index edb9530..1a08673 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -271,7 +271,7 @@ FILES_${PN}-locale = "${datadir}/locale"
FILE_DIRNAME = "${@os.path.dirname(bb.data.getVar('FILE', d))}"
FILESPATHBASE = "${FILE_DIRNAME}"
FILESPATHPKG = "${PF}:${P}:${PN}:${BP}:${BPN}:files:."
-FILESPATH = "${@':'.join([os.path.normpath(os.path.join(fp, p, o)) for fp in d.getVar('FILESPATHBASE', 1).split(':') for p in d.getVar('FILESPATHPKG', 1).split(':') for o in (d.getVar('OVERRIDES', 1) + ':').split(':')])}"
+FILESPATH = "${@':'.join([os.path.normpath(os.path.join(fp, p, o)) for fp in d.getVar('FILESPATHBASE', 1).split(':') for p in d.getVar('FILESPATHPKG', 1).split(':') for o in (':' + d.getVar('OVERRIDES', 1)).split(':')[::-1]])}"
FILESDIR = "${@bb.which(d.getVar('FILESPATH', 1), '.')}"
##################################################################
--
1.7.3.1
prev parent reply other threads:[~2010-10-16 19:32 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-15 3:36 [PATCH] Reverse the order of OVERRIDES Chris Larson
2010-10-15 4:07 ` Khem Raj
2010-10-15 6:56 ` Frans Meulenbroeks
2010-10-15 14:18 ` Tom Rini
2010-10-15 10:42 ` Koen Kooi
2010-10-15 14:12 ` Maupin, Chase
2010-10-15 15:17 ` Chris Larson
2010-10-15 15:29 ` Maupin, Chase
2010-10-15 15:41 ` [PATCH (v2)] " Chris Larson
2010-10-15 16:02 ` Maupin, Chase
2010-10-15 17:20 ` Khem Raj
2010-10-15 19:37 ` Koen Kooi
2010-10-15 19:44 ` Chris Larson
2010-11-10 14:26 ` Richard Purdie
2010-11-10 16:22 ` Otavio Salvador
2010-11-10 16:27 ` Tom Rini
2010-11-10 16:29 ` Tom Rini
2010-12-01 20:26 ` Maupin, Chase
2010-12-01 21:29 ` Chris Larson
2010-10-16 18:04 ` [PATCH] " Martin Jansa
2010-10-16 18:24 ` Chris Larson
2010-10-16 18:50 ` Martin Jansa
2010-10-16 19:35 ` Martin Jansa
2010-10-16 19:54 ` Martin Jansa
2010-10-16 19:24 ` [PATCH] bitbake.conf: don't append MACHINE_OVERRIDES to OVERRIDES when it's empty Martin Jansa
2010-10-19 19:05 ` Maupin, Chase
2010-10-19 19:09 ` Chris Larson
2010-10-19 19:18 ` Maupin, Chase
2010-10-19 19:24 ` Denys Dmytriyenko
2010-10-20 23:29 ` Denys Dmytriyenko
2010-10-20 23:34 ` Chris Larson
2010-10-21 2:45 ` Denys Dmytriyenko
2010-10-21 6:27 ` Martin Jansa
2010-10-21 14:04 ` Chris Larson
2010-10-19 19:24 ` Maupin, Chase
2010-10-16 19:32 ` Martin Jansa [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1287257530-25987-1-git-send-email-Martin.Jansa@gmail.com \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox