summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-27 13:38:24 (GMT)
committerSimon Glass <sjg@chromium.org>2017-06-02 16:18:19 (GMT)
commit727f153629719c93f9c5df6e391fdfee32377ca7 (patch)
tree1a78e4efe6f9825a6835f3230874ba83b4b60358 /tools/Makefile
parente38ffc42674fedc750ca895046be0bd983b56dd5 (diff)
downloadu-boot-727f153629719c93f9c5df6e391fdfee32377ca7.tar.xz
fdt: Stop building the old python libfdt module
This is no-longer needed, so stop building it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile18
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/Makefile b/tools/Makefile
index bc411e4..cb1683e 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -141,24 +141,6 @@ tools/_libfdt.so: $(LIBFDT_SRCS) $(LIBFDT_SWIG)
$(libfdt_tree)/pylibfdt/setup.py --quiet build_ext \
--build-lib tools
-# 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),_libfdt_legacy.so)
-_libfdt_legacy.so-sharedobjs += $(LIBFDT_OBJS)
-libfdt:
-
-tools/_libfdt_legacy.so: $(patsubst %.o,%.c,$(LIBFDT_OBJS)) \
- tools/libfdt_legacy_wrap.c
- LDFLAGS="$(HOSTLDFLAGS)" CFLAGS= ${PYTHON} $(srctree)/lib/libfdt/setup.py \
- "$(_hostc_flags)" $^
- mv _libfdt_legacy.so $@
-
-tools/libfdt_legacy_wrap.c: $(srctree)/lib/libfdt/libfdt_legacy.swig
- swig -python -o $@ $<
-
-# TODO(sjg@chromium.org): Is this correct on Mac OS?
-
ifneq ($(CONFIG_MX23)$(CONFIG_MX28),)
# Add CONFIG_MXS into host CFLAGS, so we can check whether or not register
# the mxsimage support within tools/mxsimage.c .