david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[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>
This commit is contained in:
Michael Brown 2010-10-18 01:24:02 +01:00
parent a7fb7a8c6d
commit e65e4e930c
1 changed files with 4 additions and 1 deletions

View File

@ -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_%,%,\