Explicitly declare assembly only __ASSEMBLY__ macro for assembly source
To isolate the assembly-only macros in header files, such as <machine/cpu-features.h>, this patch attempts to declare assembly only __ASSEMBLY__ macro in build system. Change-Id: I081c3e46258a9256b20995e4d0b473c64745444c
This commit is contained in:
parent
fcab84025e
commit
20d1ba602b
1 changed files with 6 additions and 0 deletions
|
@ -18,6 +18,12 @@ ifeq ($(strip $(LOCAL_NO_FDO_SUPPORT)),)
|
|||
LOCAL_LDFLAGS += $(TARGET_FDO_CFLAGS)
|
||||
endif
|
||||
|
||||
###########################################################
|
||||
## Explicitly declare assembly-only __ASSEMBLY__ macro for
|
||||
## assembly source
|
||||
###########################################################
|
||||
LOCAL_ASFLAGS += -D__ASSEMBLY__
|
||||
|
||||
###########################################################
|
||||
## Define PRIVATE_ variables used by multiple module types
|
||||
###########################################################
|
||||
|
|
Loading…
Reference in a new issue