diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2023-01-15 08:28:25 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2023-01-16 07:26:08 -0800 |
| commit | 753ef3ac21624ad350c1ce520a1b69f8690909ce (patch) | |
| tree | eb4296e1a9fac3a2d32cfbd2f9deb2ed10bc89d5 /meta-xilinx-standalone-experimental/classes | |
| parent | 7a5d3cf043024f47b7ffd28f75838236c1a58462 (diff) | |
| download | meta-xilinx-753ef3ac21624ad350c1ce520a1b69f8690909ce.tar.gz | |
meta-xilinx-standalone-experimetnal: Move from using DISTRO to MACHINE features
Using DISTRO_FEATURES will affect task hashes for non-target recipes. This
triggers some signficant unnecessary rebuilds.
Since these options all point back to a given device-tree (related) setting
they really are machine, not distribution specific anyway. So the change
should also better align to the purpose of the settings.
Additionally, change dt-processor.sh to generate MACHINE_FEATURES instead of
DISTRO_FEATURES.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone-experimental/classes')
| -rw-r--r-- | meta-xilinx-standalone-experimental/classes/esw.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-xilinx-standalone-experimental/classes/esw.bbclass b/meta-xilinx-standalone-experimental/classes/esw.bbclass index b223f8ae..bcea3568 100644 --- a/meta-xilinx-standalone-experimental/classes/esw.bbclass +++ b/meta-xilinx-standalone-experimental/classes/esw.bbclass | |||
| @@ -121,7 +121,7 @@ python do_generate_driver_data() { | |||
| 121 | src_dir = glob.glob(d.getVar('OECMAKE_SOURCEPATH')) | 121 | src_dir = glob.glob(d.getVar('OECMAKE_SOURCEPATH')) |
| 122 | machine = d.getVar('ESW_MACHINE') | 122 | machine = d.getVar('ESW_MACHINE') |
| 123 | 123 | ||
| 124 | driver_name = d.getVar('REQUIRED_DISTRO_FEATURES') | 124 | driver_name = d.getVar('REQUIRED_MACHINE_FEATURES') |
| 125 | 125 | ||
| 126 | if len(system_dt) == 0: | 126 | if len(system_dt) == 0: |
| 127 | bb.error("Couldn't find device tree %s" % d.getVar('DTS_FILE')) | 127 | bb.error("Couldn't find device tree %s" % d.getVar('DTS_FILE')) |
