Skip to content

Commit

Permalink
pylibfdt/Makefile.pylibfdt: fix Python library being rebuild during i…
Browse files Browse the repository at this point in the history
…nstall

The Python module gets built during the 'make install' command even if
'make all' was run prior for build.

This is the same issue as described in the previous commit
"pylibfdt/meson.build: fix Python library being rebuilt during install".
Remove the '--build-lib' flag so setuptools can find the build module.

Signed-off-by: Brandon Maier <[email protected]>
Signed-off-by: David Gibson <[email protected]>
  • Loading branch information
blmaier authored and dgibson committed Jun 26, 2024
1 parent 9e313b1 commit ff4f17e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylibfdt/Makefile.pylibfdt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ endif

$(PYMODULE): $(PYLIBFDT_srcs) $(LIBFDT_archive) $(SETUP)
@$(VECHO) PYMOD $@
$(PYTHON) $(SETUP) $(SETUPFLAGS) build_ext --build-lib=$(PYLIBFDT_dir)
$(PYTHON) $(SETUP) $(SETUPFLAGS) build_ext

install_pylibfdt: $(PYMODULE)
@$(VECHO) INSTALL-PYLIB
Expand Down

0 comments on commit ff4f17e

Please sign in to comment.