* [OE-core] [PATCH] kernel-devsrc: provide gen-cpucaps.awk and cpucaps for arm64
@ 2021-07-12 7:32 Zhang, Qiang
2021-07-12 13:11 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: Zhang, Qiang @ 2021-07-12 7:32 UTC (permalink / raw)
To: richard.purdie; +Cc: bruce.ashfield, openembedded-core
From: Zqiang <qiang.zhang@windriver.com>
In v5.13+ kernel, when exporting the SDK and make scripts prepare
the gen-cpucaps.awk and cpucaps be needed. this change is based on
0c6c2d3615ef ("arm64: Generate cpucaps.h").
Signed-off-by: Zqiang <qiang.zhang@windriver.com>
---
meta/recipes-kernel/linux/kernel-devsrc.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index 84e99233e6..b4af622d57 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -162,6 +162,9 @@ do_install() {
cp -a --parents arch/arm64/kernel/vdso/note.S $kerneldir/build/
cp -a --parents arch/arm64/kernel/vdso/gen_vdso_offsets.sh $kerneldir/build/
+ cp -a --parents arch/arm64/tools/gen-cpucaps.awk $kerneldir/build/
+ cp -a --parents arch/arm64/tools/cpucaps $kerneldir/build/
+
cp -a --parents arch/arm64/kernel/module.lds $kerneldir/build/ 2>/dev/null || :
fi
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [OE-core] [PATCH] kernel-devsrc: provide gen-cpucaps.awk and cpucaps for arm64
2021-07-12 7:32 [OE-core] [PATCH] kernel-devsrc: provide gen-cpucaps.awk and cpucaps for arm64 Zhang, Qiang
@ 2021-07-12 13:11 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2021-07-12 13:11 UTC (permalink / raw)
To: Zhang, Qiang
Cc: Richard Purdie, Patches and discussions about the oe-core layer
On Mon, Jul 12, 2021 at 3:02 AM <qiang.zhang@windriver.com> wrote:
>
> From: Zqiang <qiang.zhang@windriver.com>
>
> In v5.13+ kernel, when exporting the SDK and make scripts prepare
> the gen-cpucaps.awk and cpucaps be needed. this change is based on
> 0c6c2d3615ef ("arm64: Generate cpucaps.h").
>
> Signed-off-by: Zqiang <qiang.zhang@windriver.com>
> ---
> meta/recipes-kernel/linux/kernel-devsrc.bb | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
> index 84e99233e6..b4af622d57 100644
> --- a/meta/recipes-kernel/linux/kernel-devsrc.bb
> +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
> @@ -162,6 +162,9 @@ do_install() {
> cp -a --parents arch/arm64/kernel/vdso/note.S $kerneldir/build/
> cp -a --parents arch/arm64/kernel/vdso/gen_vdso_offsets.sh $kerneldir/build/
>
> + cp -a --parents arch/arm64/tools/gen-cpucaps.awk $kerneldir/build/
> + cp -a --parents arch/arm64/tools/cpucaps $kerneldir/build/
This is already in a patch that I sent on July 2nd.
cb1b7e76f20dc7f11a667fa00958ab56e680c632 [kernel-devsrc: fix
scripts/prepare for ARM64]
Also, the context of this branch is different from what we have in
master, so I'm not sure what baseline you are working from.
Bruce
> +
> cp -a --parents arch/arm64/kernel/module.lds $kerneldir/build/ 2>/dev/null || :
> fi
>
> --
> 2.17.1
>
--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-12 13:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-12 7:32 [OE-core] [PATCH] kernel-devsrc: provide gen-cpucaps.awk and cpucaps for arm64 Zhang, Qiang
2021-07-12 13:11 ` Bruce Ashfield
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.