diff --git a/core/notice_files.mk b/core/notice_files.mk index 2c0a3d355..7e61c1e23 100644 --- a/core/notice_files.mk +++ b/core/notice_files.mk @@ -64,7 +64,7 @@ $(installed_notice_file): PRIVATE_INSTALLED_MODULE := $(module_installed_filenam $(installed_notice_file): $(notice_file) @echo Notice file: $< -- $@ $(hide) mkdir -p $(dir $@) - $(hide) cat $< >> $@ + $(hide) cat $< > $@ ifdef LOCAL_INSTALLED_MODULE # Make LOCAL_INSTALLED_MODULE depend on NOTICE files if they exist