fix compile error for makefile

This commit is contained in:
wgzAIIT 2022-11-25 13:31:38 +08:00
parent 1f97dd3d77
commit f1029b81c3
2 changed files with 36 additions and 24 deletions

View File

@ -1,5 +1,6 @@
############################################################################
# APP_Framework/Framework/Make.defs
############################################################################
CONFIGURED_APPS += $(APPDIR)/../../../APP_Framework/Framework
CONFIGURED_APPS += $(APPDIR)/../../../APP_Framework/Framework/transform_layer/nuttx
include $(wildcard $(APPDIR)/../../../APP_Framework/Framework/*/Make.defs)

View File

@ -1,3 +1,12 @@
include $(KERNEL_ROOT)/.config
ifeq ($(CONFIG_ADD_NUTTX_FETURES),y)
include $(APPDIR)/Make.defs
CSRCS += framework_init.c
include $(APPDIR)/Application.mk
endif
ifeq ($(CONFIG_ADD_XIZI_FETURES),y)
SRC_FILES := framework_init.c
SRC_DIR := transform_layer
@ -27,3 +36,5 @@ endif
include $(KERNEL_ROOT)/compiler.mk
endif