From 753ef3ac21624ad350c1ce520a1b69f8690909ce Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Sun, 15 Jan 2023 08:28:25 -0800 Subject: 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 --- meta-xilinx-standalone-experimental/classes/esw.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-xilinx-standalone-experimental/classes') 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() { src_dir = glob.glob(d.getVar('OECMAKE_SOURCEPATH')) machine = d.getVar('ESW_MACHINE') - driver_name = d.getVar('REQUIRED_DISTRO_FEATURES') + driver_name = d.getVar('REQUIRED_MACHINE_FEATURES') if len(system_dt) == 0: bb.error("Couldn't find device tree %s" % d.getVar('DTS_FILE')) -- cgit v1.2.3-54-g00ecf