diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2020-06-30 21:45:45 +0200 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2020-07-02 19:01:59 +0200 |
commit | e1e61c0bd12abbf60e6ed4441f6162aa7c9f441c (patch) | |
tree | 0106decb040313539e63df4106a446dae9a21653 /meta-agl-bsp/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_%.bbappend | |
parent | e25e2c46c7e90932d2e9919d70ab51633220e4c6 (diff) |
Apply the perf fix only when meta-rcar-gen3-adas is not present
Currently the upstream rcar bsp does need the fix for building perf.
The meta-rcar-gen3-adas layer contains a fix in the big patchqueue.
Thus conditionally apply the perf build fix.
Bug-AGL: SPEC-3443
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Icbf53add71ed731c35dec149841691c82ae4372c
Diffstat (limited to 'meta-agl-bsp/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_%.bbappend')
-rw-r--r-- | meta-agl-bsp/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_%.bbappend | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_%.bbappend b/meta-agl-bsp/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_%.bbappend index 405fc97a0..43aeb6272 100644 --- a/meta-agl-bsp/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_%.bbappend +++ b/meta-agl-bsp/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_%.bbappend @@ -5,14 +5,16 @@ require recipes-kernel/linux/linux-agl.inc SRC_URI_append = " file://namespace_fix.cfg \ " +# This can fix a compilation issue with perf. As this seems to collide with the cogent layer +# we apply this here by variable and reset it when the -adas layer is present. +perfFIX ??= " file://9999-perf-libbft-upstream.patch " +# + # Add ADSP patch to enable and add sound hardware abstraction SRC_URI_append_ulcb = " \ file://0004-ADSP-enable-and-add-sound-hardware-abstraction.patch \ + ${perfFIX} \ " -# This can fix a compilation issue with perf. This seems to collide with the cogent layer -# so for now just don't apply and see if or where we need this. -# file://9999-perf-libbft-upstream.patch \ -# # For Xen SRC_URI_append = " \ |