build system: Generate dependency make rules for assembler source

Was previously only C, C++.
This commit is contained in:
Angus Gratton
2016-12-12 10:02:41 +11:00
parent 487548e7dd
commit 49be64a716

View File

@@ -172,7 +172,7 @@ LDFLAGS ?= -nostdlib \
# CPPFLAGS used by C preprocessor # CPPFLAGS used by C preprocessor
# If any flags are defined in application Makefile, add them at the end. # 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++ # Warnings-related flags relevant both for C and C++
COMMON_WARNING_FLAGS = -Wall -Werror=all \ COMMON_WARNING_FLAGS = -Wall -Werror=all \
@@ -188,8 +188,7 @@ COMMON_FLAGS = \
-ffunction-sections -fdata-sections \ -ffunction-sections -fdata-sections \
-fstrict-volatile-bitfields \ -fstrict-volatile-bitfields \
-mlongcalls \ -mlongcalls \
-nostdlib \ -nostdlib
-MMD -MP
# Optimization flags are set based on menuconfig choice # Optimization flags are set based on menuconfig choice
ifneq ("$(CONFIG_OPTIMIZATION_LEVEL_RELEASE)","") ifneq ("$(CONFIG_OPTIMIZATION_LEVEL_RELEASE)","")