xref: /linux/tools/testing/selftests/dt/Makefile (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
114571ab1SNícolas F. R. A. PradoPY3 = $(shell which python3 2>/dev/null)
214571ab1SNícolas F. R. A. Prado
314571ab1SNícolas F. R. A. Pradoifneq ($(PY3),)
414571ab1SNícolas F. R. A. Prado
514571ab1SNícolas F. R. A. PradoTEST_PROGS := test_unprobed_devices.sh
614571ab1SNícolas F. R. A. PradoTEST_GEN_FILES := compatible_list
7*7c079e90SLaura NaoTEST_FILES := compatible_ignore_list
814571ab1SNícolas F. R. A. Prado
914571ab1SNícolas F. R. A. Pradoinclude ../lib.mk
1014571ab1SNícolas F. R. A. Prado
1114571ab1SNícolas F. R. A. Prado$(OUTPUT)/compatible_list:
1214571ab1SNícolas F. R. A. Prado	$(top_srcdir)/scripts/dtc/dt-extract-compatibles -d $(top_srcdir) > $@
1314571ab1SNícolas F. R. A. Prado
1414571ab1SNícolas F. R. A. Pradoelse
1514571ab1SNícolas F. R. A. Prado
1614571ab1SNícolas F. R. A. Pradoall: no_py3_warning
1714571ab1SNícolas F. R. A. Prado
1814571ab1SNícolas F. R. A. Pradono_py3_warning:
1914571ab1SNícolas F. R. A. Prado	@echo "Missing python3. This test will be skipped."
2014571ab1SNícolas F. R. A. Prado
2114571ab1SNícolas F. R. A. Pradoendif
22