From: Angus Gratton Date: Sun, 11 Dec 2016 23:02:41 +0000 (+1100) Subject: build system: Generate dependency make rules for assembler source X-Git-Tag: v2.0-rc1~135^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49be64a716d1b891db6ef3d96304983e7d42cb7d;p=esp-idf build system: Generate dependency make rules for assembler source Was previously only C, C++. --- diff --git a/make/project.mk b/make/project.mk index fd45600a03..0548002277 100644 --- a/make/project.mk +++ b/make/project.mk @@ -172,7 +172,7 @@ LDFLAGS ?= -nostdlib \ # CPPFLAGS used by C preprocessor # If any flags are defined in application Makefile, add them at the end. -CPPFLAGS := -DESP_PLATFORM $(CPPFLAGS) $(EXTRA_CPPFLAGS) +CPPFLAGS := -DESP_PLATFORM -MMD -MP $(CPPFLAGS) $(EXTRA_CPPFLAGS) # Warnings-related flags relevant both for C and C++ COMMON_WARNING_FLAGS = -Wall -Werror=all \ @@ -188,8 +188,7 @@ COMMON_FLAGS = \ -ffunction-sections -fdata-sections \ -fstrict-volatile-bitfields \ -mlongcalls \ - -nostdlib \ - -MMD -MP + -nostdlib # Optimization flags are set based on menuconfig choice ifneq ("$(CONFIG_OPTIMIZATION_LEVEL_RELEASE)","")