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