File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ define fetch_file
40
40
endef
41
41
42
42
define int_get_build_recipe_hash
43
- $(eval $(1 ) _all_file_checksums:=$(shell $(build_SHA256SUM ) $(meta_depends ) packages/$(1 ) .mk $(addprefix $(PATCHES_PATH ) /$(1 ) /,$($(1 ) _patches) ) | cut -d" " -f1) )
43
+ $(eval $(1 ) _patches_path?=$(PATCHES_PATH ) /$(1 ) )
44
+ $(eval $(1 ) _all_file_checksums:=$(shell $(build_SHA256SUM ) $(meta_depends ) packages/$(1 ) .mk $(addprefix $($(1 ) _patches_path) /,$($(1 ) _patches) ) | cut -d" " -f1) )
44
45
$(eval $(1 ) _recipe_hash:=$(shell echo -n "$($(1 ) _all_file_checksums) " | $(build_SHA256SUM ) | cut -d" " -f1) )
45
46
endef
46
47
@@ -219,7 +220,7 @@ $($(1)_extracted): | $($(1)_fetched)
219
220
$($(1 ) _preprocessed) : | $($(1 ) _extracted)
220
221
echo Preprocessing $(1 ) ...
221
222
mkdir -p $$(@D ) $($(1 ) _patch_dir)
222
- $(foreach patch,$($(1 ) _patches) ,cd $(PATCHES_PATH ) / $(1 ) ; cp $(patch ) $($(1 ) _patch_dir) ;)
223
+ $(foreach patch,$($(1 ) _patches) ,cd $($(1 ) _patches_path ) ; cp $(patch ) $($(1 ) _patch_dir) ;)
223
224
{ cd $$(@D ) ; $($(1 ) _preprocess_cmds) ; } $$($(1 ) _logging)
224
225
touch $$@
225
226
$($(1 ) _configured) : | $($(1 ) _dependencies) $($(1 ) _preprocessed)
You can’t perform that action at this time.
0 commit comments