diff options
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index 915766051a..a8357a5b93 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -57,6 +57,11 @@ endif # the resulting ec.bin export STATIC_VERSION +# Commonly used compiler options used in these scripts +# +# -MT explicitly sets target file name in generated .d files to work around +# a ccache issue. + # commands to build all targets cmd_libec = $(LD) -r $^ -o $@.1.o ${silent_err} && \ $(OBJCOPY) --localize-hidden $@.1.o $@.2.o ${silent_err} && \ @@ -599,6 +604,8 @@ $(out)/tags: $(out)/cscope.files npx-monitor-dir: $(Q)mkdir -p ${out}/chip/npcx/spiflashfw +# See "Commonly used compiler options" for more documentation + # TODO: optional make rules for PROJECT_EXTRA $(npcx-monitor-fw-bin):$(npcx-monitor-fw).c npx-monitor-dir $(if $(V),,@echo ' EXTBIN ' $(subst $(out)/,,$@) ; ) |