summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@bidouilliste.com>2017-01-16 07:07:15 (GMT)
committerTom Rini <trini@konsulko.com>2017-01-20 20:38:03 (GMT)
commit1905c8fc711a527ff10550425498bc77e4db9ac3 (patch)
treeabe06b0062f8d86f45b200ed680a0a964e73dfe7 /tools/Makefile
parent56acf018c199d7701f5bd4946b1fde46e681ecee (diff)
downloadu-boot-fsl-qoriq-1905c8fc711a527ff10550425498bc77e4db9ac3.tar.xz
build: Always build the libfdt python module
Do not rely on CONFIG_SPL_OF_PLATDATA to build the libfdt python module. If swig is present, this will be build Signed-off-by: Emmanuel Vadot <manu@bidouilliste.com>
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 5b81dde..a609d05 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -111,7 +111,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-$(CONFIG_SPL_OF_PLATDATA) += \
+hostprogs-y += \
$(if $(shell which swig 2> /dev/null),_libfdt.so)
_libfdt.so-sharedobjs += $(LIBFDT_OBJS)
libfdt: