Browse Source

[legal] Ignore config/local header files for licensing purposes

The config/local/*.h files are expected to be empty in most cases.
This should not cause a licence determination to fail.

Fix by ignoring config/local/*.h for licensing purposes.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 14 years ago
parent
commit
e65e4e930c
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      src/Makefile.housekeeping

+ 4
- 1
src/Makefile.housekeeping View File

776
 
776
 
777
 # Get licensing verdict for the specified target
777
 # Get licensing verdict for the specified target
778
 #
778
 #
779
+define licensable_deps_list
780
+	$(filter-out config/local/%.h,$(call deps_list,$(1)))
781
+endef
779
 define unlicensed_deps_list
782
 define unlicensed_deps_list
780
-	$(shell grep -L FILE_LICENCE $(call deps_list,$(1)))
783
+	$(shell grep -L FILE_LICENCE $(call licensable_deps_list,$(1)))
781
 endef
784
 endef
782
 define licence_list
785
 define licence_list
783
 	$(patsubst __licence_%,%,\
786
 	$(patsubst __licence_%,%,\

Loading…
Cancel
Save