projects/linux·blob master · refs

21 lines · 392 B

1PY3 = $(shell which python3 2>/dev/null)
2
3ifneq ($(PY3),)
4
5TEST_PROGS := test_unprobed_devices.sh
6TEST_GEN_FILES := compatible_list
7TEST_FILES := compatible_ignore_list
8
9include ../lib.mk
10
11$(OUTPUT)/compatible_list:
12 $(top_srcdir)/scripts/dtc/dt-extract-compatibles -d $(top_srcdir) > $@
13
14else
15
16all: no_py3_warning
17
18no_py3_warning:
19 @echo "Missing python3. This test will be skipped."
20
21endif