diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-07-26 20:16:06 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-12-10 09:42:50 +0200 |
commit | ef77549000ac46eededa3e4a89466024db111524 (patch) | |
tree | f7279ce5a0513c09c6794a23886f878e49b73a80 | |
parent | 09ad512369a5ff717518dfb1ed19a45097e65ad3 (diff) | |
download | bitcoin-ef77549000ac46eededa3e4a89466024db111524.tar.xz |
build: Include native_X.mk before X.mk
This change fixes some weirdness like `make print-capnp_version` output
in depends.
-rw-r--r-- | depends/funcs.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/depends/funcs.mk b/depends/funcs.mk index 34a030fab7..55c2e78d17 100644 --- a/depends/funcs.mk +++ b/depends/funcs.mk @@ -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)))) |