summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index c1e46bbff0..1247999164 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -115,7 +115,7 @@ fit_check_sign-objs := $(dumpimage-mkimage-objs) fit_check_sign.o
# Build a libfdt Python module if swig is available
# Use 'sudo apt-get install swig libpython-dev' to enable this
hostprogs-y += \
- $(if $(shell which swig 2> /dev/null), $(if $(wildcard /usr/include/python*/Python.h),_libfdt.so))
+ $(if $(shell which swig 2> /dev/null), $(if $(wildcard /usr/include/python2*/Python.h),_libfdt.so))
_libfdt.so-sharedobjs += $(LIBFDT_OBJS)
libfdt: