mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
build: Replace "$(shell $(INCDIR) $(CC) ...)" with $(INCDIR_PREFIX)
to unify the way to get include directories Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
3bd106081f
commit
7986f66006
3 changed files with 5 additions and 5 deletions
|
|
@ -74,9 +74,9 @@ CSRCS += wasi_fdtable.c
|
|||
# TOYWASM_ENABLE_WASI_THREADS
|
||||
CSRCS += wasi_threads.c
|
||||
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(APPDIR)/interpreters/toywasm/include}
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(APPDIR)/interpreters/toywasm/toywasm/lib}
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(APPDIR)/interpreters/toywasm/toywasm/libwasi}
|
||||
CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/interpreters/toywasm/include
|
||||
CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/interpreters/toywasm/toywasm/lib
|
||||
CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/interpreters/toywasm/toywasm/libwasi
|
||||
|
||||
TOYWASM_VERSION = 99468253ca11c9b8df444e3e23865b5030f6af69
|
||||
TOYWASM_UNPACK = toywasm
|
||||
|
|
|
|||
|
|
@ -35,6 +35,6 @@ CSRCS = lapi_evt.c \
|
|||
|
||||
DEPPATH += --dep-path src
|
||||
VPATH += :src
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(APPDIR)/lte/lapi/src}
|
||||
CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/lte/lapi/src
|
||||
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ $(LIQUID_DSP_UNPACK)/.patch: $(LIQUID_DSP_UNPACK)
|
|||
$(Q) touch $(LIQUID_DSP_UNPACK)/.patch
|
||||
|
||||
CFLAGS += -std=c99
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(APPDIR)/sdr/liquid_dsp}
|
||||
CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/sdr/liquid_dsp
|
||||
CFLAGS += -DM_SQRT1_2=0.7071067811865475244008443621048490
|
||||
CFLAGS += -DM_SQRT2=1.4142135623730950488016887242096981
|
||||
CFLAGS += -DM_PI=3.1415926535897932384626433832795029
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue