Procházet zdrojové kódy

[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 před 14 roky
rodič
revize
e65e4e930c
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4
    1
      src/Makefile.housekeeping

+ 4
- 1
src/Makefile.housekeeping Zobrazit soubor

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

Načítá se…
Zrušit
Uložit