From: Emmanuel Vadot Date: Mon, 16 Jan 2017 07:07:15 +0000 (+0100) Subject: build: Always build the libfdt python module X-Git-Tag: v2017.03-rc1~77 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1905c8fc711a527ff10550425498bc77e4db9ac3;p=u-boot 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 --- diff --git a/tools/Makefile b/tools/Makefile index 5b81dde4b0..a609d05859 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: