From: Jaewon Lee <jaewon.lee@xilinx.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH] kernel-yocto.bbclass: Adds oe-local-files path (devtool) to include directives
Date: Mon, 30 Jul 2018 14:21:53 -0700 [thread overview]
Message-ID: <1532985713-15283-2-git-send-email-jaewon.lee@xilinx.com> (raw)
In-Reply-To: <1532985713-15283-1-git-send-email-jaewon.lee@xilinx.com>
The devtool-source class moves all local files specified in SRC_URI to
an oe-local-files directory. When using devtool and a recipe space kernel-meta,
devtool modify throws an error because the paths the kernel-yocto class
is looking for feature directories in, don't include the oe-local-files
directory which devtool is using.
This patch checks for feature directories in oe-local-files,
and if present, adds that path to include directives.
[YOCTO #12855]
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
---
meta/classes/kernel-yocto.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 82d8074..077a1ab 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -140,6 +140,8 @@ do_kernel_metadata() {
includes="$includes -I${WORKDIR}/$f/kernel-meta"
elif [ -d "${WORKDIR}/$f" ]; then
includes="$includes -I${WORKDIR}/$f"
+ elif [ -d "${WORKDIR}/../oe-local-files/$f" ]; then
+ includes="$includes -I${WORKDIR}/../oe-local-files/$f"
fi
done
for s in ${sccs} ${patches}; do
--
2.7.4
next prev parent reply other threads:[~2018-07-30 23:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-30 21:21 [PATCH] devtool-source.bbclass: Support kernel fragments not in SRC_URI Jaewon Lee
2018-07-30 21:21 ` Jaewon Lee [this message]
2018-08-01 11:25 ` Anuj Mittal
2018-08-01 23:30 ` Alejandro Enedino Hernandez Samaniego
2018-08-02 2:55 ` Anuj Mittal
2018-08-02 8:53 ` Richard Purdie
2018-08-02 20:55 ` Alejandro Enedino Hernandez Samaniego
2018-08-10 2:36 ` Anuj Mittal
[not found] ` <MWHPR02MB27684D092677AC56F96464DAAF2C0@MWHPR02MB2768.namprd02.prod.outlook.com>
2018-08-02 1:32 ` Anuj Mittal
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=1532985713-15283-2-git-send-email-jaewon.lee@xilinx.com \
--to=jaewon.lee@xilinx.com \
--cc=openembedded-core@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