22 lines · plain
1PY3 = $(shell which python3 2>/dev/null)2 3ifneq ($(PY3),)4 5TEST_PROGS := test_unprobed_devices.sh6TEST_GEN_FILES := compatible_list7TEST_FILES := compatible_ignore_list8 9include ../lib.mk10 11$(OUTPUT)/compatible_list:12 $(top_srcdir)/scripts/dtc/dt-extract-compatibles -d $(top_srcdir) > $@13 14else15 16all: no_py3_warning17 18no_py3_warning:19 @echo "Missing python3. This test will be skipped."20 21endif22