Skip to content

Commit

Permalink
build: Include native_X.mk before X.mk
Browse files Browse the repository at this point in the history
This change fixes some weirdness like `make print-capnp_version` output
in depends.
  • Loading branch information
hebasto committed Dec 10, 2021
1 parent 09ad512 commit ef77549
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion depends/funcs.mk
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,8 @@ $(foreach package,$(packages),$(eval $(package)_type=$(host_arch)_$(host_os)))
$(foreach package,$(all_packages),$(eval $(call int_vars,$(package))))

#include package files
$(foreach package,$(all_packages),$(eval include packages/$(package).mk))
$(foreach native_package,$(native_packages),$(eval include packages/$(native_package).mk))
$(foreach package,$(packages),$(eval include packages/$(package).mk))

#compute a hash of all files that comprise this package's build recipe
$(foreach package,$(all_packages),$(eval $(call int_get_build_recipe_hash,$(package))))
Expand Down

0 comments on commit ef77549

Please sign in to comment.