--- zzzz-none-000/linux-4.9.279/scripts/Makefile.headersinst 2021-08-08 06:38:54.000000000 +0000 +++ puma7-atom-6591-750/linux-4.9.279/scripts/Makefile.headersinst 2023-02-08 11:43:43.000000000 +0000 @@ -7,6 +7,9 @@ # # ========================================================================== +# Includes Intel Corporation's changes/modifications dated: 2017. +# Changed/modified portions - Copyright (c) 2017, Intel Corporation. + # generated header directory gen := $(if $(gen),$(gen),$(subst include/,include/generated/,$(obj))) @@ -86,8 +89,9 @@ done; \ touch $@ +# INTEL: Comment cmd-remove to allow several KBuild files with same destination-y quiet_cmd_remove = REMOVE $(unwanted) - cmd_remove = rm -f $(unwanted-file) + cmd_remove = # rm -f $(unwanted-file) quiet_cmd_check = CHECK $(printdir) ($(words $(all-files)) files) # Headers list can be pretty long, xargs helps to avoid