summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.housekeeping5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index c1c388d8..d18b65cc 100644
--- a/src/Makefile.housekeeping
+++ b/src/Makefile.housekeeping
@@ -776,8 +776,11 @@ $(BIN)/%.nodeps : $(BIN)/%.tmp
# Get licensing verdict for the specified target
#
+define licensable_deps_list
+ $(filter-out config/local/%.h,$(call deps_list,$(1)))
+endef
define unlicensed_deps_list
- $(shell grep -L FILE_LICENCE $(call deps_list,$(1)))
+ $(shell grep -L FILE_LICENCE $(call licensable_deps_list,$(1)))
endef
define licence_list
$(patsubst __licence_%,%,\