diff --git a/Makefile b/Makefile index a071320a16c4639fdde68dbd11734bddac32a313..41399ef30165d1d18b3f28b87fa816a09e73c4ec 100644 --- a/Makefile +++ b/Makefile @@ -18,12 +18,22 @@ obj-$(CONFIG_DRIVERS_HDF) += osal/ obj-$(CONFIG_DRIVERS_HDF) += network/ obj-$(CONFIG_DRIVERS_HDF) += config/ +ifeq ($(TARGET_PRODUCT), Hi3516DV300) +ifeq ($(CONFIG_DRIVERS_HDF_TEST), y) +obj-y += hcs/hdf_test/ +obj-y += test/ +else +obj-$(CONFIG_DRIVERS_HDF) += hcs/ +endif +else ifeq ($(CONFIG_DRIVERS_HDF_TEST), y) obj-y += ../../../../$(PRODUCT_PATH)/config/hdf_test/ obj-y += test/ else obj-$(CONFIG_DRIVERS_HDF) += ../../../../$(PRODUCT_PATH)/config/ endif +endif + obj-$(CONFIG_DRIVERS_HDF) += manager/ obj-$(CONFIG_DRIVERS_HDF_PLATFORM) += platform/ obj-$(CONFIG_DRIVERS_HDF_DISP) += model/display/ diff --git a/model/input/Makefile b/model/input/Makefile old mode 100755 new mode 100644 index 3c87f1f31f9c1b2bc22879cb31060e7c834cfdb7..8eaaa60dd155a42a54064a10303e215331f727dd --- a/model/input/Makefile +++ b/model/input/Makefile @@ -45,5 +45,5 @@ ccflags-y += -Iinclude/../drivers/hdf/framework/model/input/driver \ -Iinclude/../drivers/hdf/framework/core/host/include \ -Iinclude/../drivers/hdf/framework/core/shared/include \ -Iinclude/../drivers/hdf/khdf/osal/include \ - -I../../../../third_party/bounds_checking_function/include \ - -I../../../../third_party/FreeBSD/sys/dev/evdev + -I$(PROJECT_ROOT)/third_party/bounds_checking_function/include \ + -I$(PROJECT_ROOT)/third_party/FreeBSD/sys/dev/evdev diff --git a/test/Makefile b/test/Makefile index 1dca9ed811adb41300963a32cd01ebf0e24f05fc..9e460e8001444bf094ccd8b193b66b847e399890 100644 --- a/test/Makefile +++ b/test/Makefile @@ -67,7 +67,7 @@ ccflags-y += -Idrivers/hdf/framework/include \ -Idrivers/hdf/framework/core/common/include/host \ -Idrivers/hdf/framework/core/common/include/manager \ -Idrivers/hdf/framework/core/adapter/vnode/include \ - -I../../../../third_party/bounds_checking_function/include \ + -I$(PROJECT_ROOT)/third_party/bounds_checking_function/include \ -Idrivers/hdf/framework/ability/config/hcs_parser/include \ -Idrivers/hdf/framework/test/unittest/config \ -Idrivers/hdf/framework/test/unittest/ability/config/hcs_parser/unittest \