diff options
author | Michael Brown | 2010-10-18 02:24:02 +0200 |
---|---|---|
committer | Michael Brown | 2010-10-18 02:25:42 +0200 |
commit | e65e4e930c2c386f76d701468326bc1d78c88edf (patch) | |
tree | 7708b435c683931515f12aca0d8929f33cd783a5 /src/Makefile.housekeeping | |
parent | [util] Update welcome message in ISO images (diff) | |
download | ipxe-e65e4e930c2c386f76d701468326bc1d78c88edf.tar.gz ipxe-e65e4e930c2c386f76d701468326bc1d78c88edf.tar.xz ipxe-e65e4e930c2c386f76d701468326bc1d78c88edf.zip |
[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>
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r-- | src/Makefile.housekeeping | 5 |
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_%,%,\ |