]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[legal] Ignore config/local header files for licensing purposes
authorMichael Brown <mcb30@ipxe.org>
Mon, 18 Oct 2010 00:24:02 +0000 (01:24 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 18 Oct 2010 00:25:42 +0000 (01:25 +0100)
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>
src/Makefile.housekeeping

index c1c388d825bd714e2769e739679ee418cddb3812..d18b65cc7bf10c9b42bb44a72405375badb206ad 100644 (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_%,%,\