Skip to content
Snippets Groups Projects
Commit 1905c8fc authored by Emmanuel Vadot's avatar Emmanuel Vadot Committed by Tom Rini
Browse files

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: default avatarEmmanuel Vadot <manu@bidouilliste.com>
parent 56acf018
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment