Skip to content
Snippets Groups Projects
Commit 8945a951 authored by Juan Carrano's avatar Juan Carrano
Browse files

Makefile.include: remove rule to remake PKGs' Makefile.include

This rule is not being used, it complicates the makefile and causes
make clean to permform unnecessary actions.

All packages have a Makefile.include, so the rule is not needed anyways.
Also, it is defined with a double colon for no reason.
parent 35626eda
No related branches found
No related tags found
No related merge requests found
...@@ -357,10 +357,6 @@ include $(RIOTBASE)/sys/Makefile.include ...@@ -357,10 +357,6 @@ include $(RIOTBASE)/sys/Makefile.include
include $(RIOTBASE)/drivers/Makefile.include include $(RIOTBASE)/drivers/Makefile.include
# include Makefile.includes for packages in $(USEPKG) # include Makefile.includes for packages in $(USEPKG)
$(RIOTPKG)/%/Makefile.include::
$(Q)"$(MAKE)" -C $(RIOTPKG)/$* Makefile.include
$(USEPKG:%=$(RIOTPKG)/%/Makefile.include): FORCE
-include $(USEPKG:%=$(RIOTPKG)/%/Makefile.include) -include $(USEPKG:%=$(RIOTPKG)/%/Makefile.include)
# include external modules configuration # include external modules configuration
...@@ -488,7 +484,7 @@ endef ...@@ -488,7 +484,7 @@ endef
# The `clean` needs to be serialized before everything else. # The `clean` needs to be serialized before everything else.
ifneq (, $(filter clean, $(MAKECMDGOALS))) ifneq (, $(filter clean, $(MAKECMDGOALS)))
all $(BASELIBS) $(USEPKG:%=$(RIOTPKG)/%/Makefile.include) $(BUILDDEPS) ..in-docker-container: clean all $(BASELIBS) $(BUILDDEPS) ..in-docker-container: clean
endif endif
.PHONY: pkg-prepare pkg-build pkg-build-% .PHONY: pkg-prepare pkg-build pkg-build-%
......
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