diff --git a/depends/funcs.mk b/depends/funcs.mk index f6221ef18f8..7310cbec8c4 100644 --- a/depends/funcs.mk +++ b/depends/funcs.mk @@ -60,7 +60,7 @@ endef define int_get_build_recipe_hash $(eval $(1)_patches_path?=$(PATCHES_PATH)/$(1)) -$(eval $(1)_all_file_checksums:=$(shell $(build_SHA256SUM) $(meta_depends) packages/$(1).mk $(addprefix $($(1)_patches_path)/,$($(1)_patches)) | cut -d" " -f1)) +$(eval $(1)_all_file_checksums:=$(shell $(build_SHA256SUM) $(meta_depends) packages/$(1).mk $$(grep "^include " packages/$(1).mk | cut -d' ' -f2 | xargs) $(addprefix $($(1)_patches_path)/,$($(1)_patches)) | cut -d" " -f1)) # If $(1)_local_dir is set, create a tarball of the local directory contents to # use as the source of the package, and include a hash of the tarball in the # package id, so if directory contents change, the package and packages