Skip to content

Commit

Permalink
rules.mk: drop include_mk build rule
Browse files Browse the repository at this point in the history
The only users of this were the python packages
from the `packages` feed.
The 2 python interpreters would export some mk
files (e.g. python-package.mk) and then other
python packages would include it via this rule.

But there's a few things wrong with this approach,
most of them drawing from the fact that python host
needs to be built first, to export these mk files.

By now all uses of include_mk have been corrected
in the feeds and this can be removed.

Signed-off-by: Alexandru Ardelean <[email protected]>
  • Loading branch information
commodo authored and neocturne committed Jan 26, 2018
1 parent 2c50af0 commit cfdfa6d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -355,10 +355,6 @@ define shexport
export $(call shvar,$(1))=$$(call $(1))
endef

define include_mk
$(eval -include $(if $(DUMP),,$(STAGING_DIR)/mk/$(strip $(1))))
endef

# Execute commands under flock
# $(1) => The shell expression.
# $(2) => The lock name. If not given, the global lock will be used.
Expand Down

0 comments on commit cfdfa6d

Please sign in to comment.