arch/sim/Makefile: add openh264 & x264 include path
Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
This commit is contained in:
parent
347864152d
commit
fea727a050
@ -21,11 +21,20 @@
|
||||
include $(TOPDIR)/tools/apps-or-nuttx-Make.defs
|
||||
|
||||
ARCH_SRCDIR = $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src
|
||||
APPSDIR = $(TOPDIR)$(DELIM)$(CONFIG_APPS_DIR)
|
||||
|
||||
INCLUDES += ${INCDIR_PREFIX}$(ARCH_SRCDIR)
|
||||
INCLUDES += ${INCDIR_PREFIX}$(ARCH_SRCDIR)$(DELIM)chip
|
||||
INCLUDES += ${INCDIR_PREFIX}$(TOPDIR)$(DELIM)sched
|
||||
|
||||
ifeq ($(CONFIG_VIDEOUTILS_OPENH264),y)
|
||||
INCLUDES += ${INCDIR_PREFIX}$(APPSDIR)/videoutils/openh264/openh264/codec/api
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_VIDEOUTILS_LIBX264),y)
|
||||
INCLUDES += ${INCDIR_PREFIX}$(APPSDIR)/videoutils/x264/x264
|
||||
endif
|
||||
|
||||
CPPFLAGS += $(INCLUDES)
|
||||
CFLAGS += $(INCLUDES)
|
||||
CXXFLAGS += $(INCLUDES)
|
||||
|
Loading…
Reference in New Issue
Block a user