All of lore.kernel.org
 help / color / mirror / Atom feed
* patching an .inc file?
@ 2020-03-28 21:42 Derek Dresser
  2020-03-28 21:59 ` [yocto] " Konrad Weihmann
  0 siblings, 1 reply; 6+ messages in thread
From: Derek Dresser @ 2020-03-28 21:42 UTC (permalink / raw)
  To: Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 2030 bytes --]

Hello,

I am trying to update a build for a custom board based on the Xilinx
zcu102-zynqmp (using meta-xilinx)  to 'zeus' and am getting the following
error message:

Toolchain tunings invalid:
Tuning 'microblaze' has the following errors:
Feature 'v11.0' is not defined.


I have tracked this down to the following file:

poky/meta/conf/machine/include/microblaze/feature-microblaze-versions.inc

Editing this file allows me to build without errors.  I'd like to apply a
patch to this file (or override the file with an edited version.)

diff --git
meta/conf/machine/include/microblaze/feature-microblaze-versions.inc
meta/conf/machine/include/microblaze/feature-microblaze-versions.inc
index 955674fff9..3221e2aab7 100644
--- meta/conf/machine/include/microblaze/feature-microblaze-versions.inc
+++ meta/conf/machine/include/microblaze/feature-microblaze-versions.inc
@@ -44,6 +44,7 @@ TUNEVALID[v9.4]  = "MicroBlaze version 9.4"
 TUNEVALID[v9.5]  = "MicroBlaze version 9.5"
 TUNEVALID[v9.6]  = "MicroBlaze version 9.6"
 TUNEVALID[v10.0] = "MicroBlaze version 10.0"
+TUNEVALID[v11.0] = "MicroBlaze version 11.0"

 # Version conflict matrix
 TUNECONFLICTS[v8.00] = ""
@@ -60,6 +61,7 @@ TUNECONFLICTS[v9.4]  = "v8.00 v8.10 v8.20 v8.30 v8.40
v8.50 v9.0 v9.1 v9.2 v9.3"
 TUNECONFLICTS[v9.5]  = "v8.00 v8.10 v8.20 v8.30 v8.40 v8.50 v9.0 v9.1 v9.2
v9.3 v9.4"
 TUNECONFLICTS[v9.6]  = "v8.00 v8.10 v8.20 v8.30 v8.40 v8.50 v9.0 v9.1 v9.2
v9.3 v9.4 v9.5"
 TUNECONFLICTS[v10.0] = "v8.00 v8.10 v8.20 v8.30 v8.40 v8.50 v9.0 v9.1 v9.2
v9.3 v9.4 v9.5 v9.6"
+TUNECONFLICTS[v11.0] = "v8.00 v8.10 v8.20 v8.30 v8.40 v8.50 v9.0 v9.1 v9.2
v9.3 v9.4 v9.5 v9.6 v10.0"

 # Version flags
 TUNE_CCARGS += "-mcpu=${@microblaze_current_version(d, True)}"

I know how to apply a patch against a recipe source file, but not this
toolchain tuning include file.   How can I accomplish this without editing
the files in openembedded-core?   I'd like to override or patch this in my
own layer.

Thanks,
Derek

[-- Attachment #2: Type: text/html, Size: 2795 bytes --]

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-03-29 14:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-28 21:42 patching an .inc file? Derek Dresser
2020-03-28 21:59 ` [yocto] " Konrad Weihmann
2020-03-28 22:12   ` Alejandro Hernandez
2020-03-29 13:38   ` Derek Dresser
2020-03-29 13:44     ` [yocto] " Konrad Weihmann
2020-03-29 14:31       ` Derek Dresser

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.