2016-05-21 05:39:42 +08:00
|
|
|
|
2016-05-25 21:03:33 +08:00
|
|
|
ifdef CONFIG_QMSI_LIBRARY
|
2016-07-07 22:08:57 +08:00
|
|
|
ZEPHYRINCLUDE += -I$(CONFIG_QMSI_INSTALL_PATH)/include
|
2016-05-25 21:03:33 +08:00
|
|
|
LIB_INCLUDE_DIR += -L$(CONFIG_QMSI_INSTALL_PATH:"%"=%)/lib
|
|
|
|
ALL_LIBS += qmsi
|
2016-05-18 20:40:07 +08:00
|
|
|
endif
|
2016-07-07 22:08:57 +08:00
|
|
|
ifdef CONFIG_QMSI_BUILTIN
|
|
|
|
ZEPHYRINCLUDE +=-I$(srctree)/ext/hal/qmsi/include
|
|
|
|
ZEPHYRINCLUDE +=-I$(srctree)/ext/hal/qmsi/drivers/include
|
|
|
|
ifeq ($(CONFIG_ARC),y)
|
|
|
|
ZEPHYRINCLUDE +=-I$(srctree)/ext/hal/qmsi/drivers/sensor/include
|
|
|
|
endif
|
|
|
|
ZEPHYRINCLUDE +=-I$(srctree)/ext/hal/qmsi/soc/$(patsubst %_ss,%,$(SOC_NAME))/include/
|
|
|
|
endif
|