Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm"
[platform/kernel/u-boot.git] / scripts / dtc / pylibfdt / Makefile
index 80b6ad2..42342c7 100644 (file)
@@ -24,9 +24,6 @@ quiet_cmd_pymod = PYMOD   $@
                $(PYTHON3) $< --quiet build_ext --inplace
 
 $(obj)/_libfdt.so: $(src)/setup.py $(PYLIBFDT_srcs) FORCE
-       @# Remove the library since otherwise Python doesn't seem to regenerate
-       @# the libfdt.py file if it is missing.
-       rm -f $(obj)/_libfdt*.so
        $(call if_changed,pymod)
 
 always += _libfdt.so