scripts: headers: Skip removal of unwanted headers

Change-Id: I5ba672e50a991c266e4e4195a25155708380ab69
This commit is contained in:
danielml 2024-02-10 18:04:11 +01:00 committed by j7b3y
parent 7356c7838b
commit f72e728420

View File

@ -69,9 +69,9 @@ quiet_cmd_remove = REMOVE $(unwanted)
cmd_remove = rm -f $(unwanted)
__headers: $(all-headers)
ifneq ($(unwanted),)
$(call cmd,remove)
endif
#ifneq ($(unwanted),)
# $(call cmd,remove)
#endif
@:
existing-headers := $(filter $(old-headers), $(all-headers))