tz_vmm: use library instead of REQUIRES

Ref #2223
This commit is contained in:
Martin Stein 2017-01-05 15:49:07 +01:00 committed by Norman Feske
parent 9c14c1bb71
commit 0590e00e66
8 changed files with 20 additions and 20 deletions

View File

@ -0,0 +1,6 @@
LIBS += base config
SRC_CC += serial.cc block.cc spec/imx53/main.cc
INC_DIR += $(REP_DIR)/src/server/tz_vmm/spec/imx53
INC_DIR += $(REP_DIR)/src/server/tz_vmm/include
vpath % $(REP_DIR)/src/server/tz_vmm

View File

@ -0,0 +1,4 @@
INC_DIR += $(REP_DIR)/src/server/tz_vmm/spec/imx53_qsb
SRC_CC += spec/imx53_qsb/vm.cc
include $(REP_DIR)/lib/mk/spec/imx53/tz_vmm.inc

View File

@ -0,0 +1,4 @@
INC_DIR += $(REP_DIR)/src/server/tz_vmm/spec/usb_armory
SRC_CC += spec/usb_armory/vm.cc
include $(REP_DIR)/lib/mk/spec/imx53/tz_vmm.inc

View File

@ -0,0 +1,3 @@
/*
* Dummy compilation unit needed to link a valid target.
*/

View File

@ -1,14 +0,0 @@
TARGET = tz_vmm
REQUIRES += trustzone imx53
LIBS += base
LIBS += config
SRC_CC += vm.cc
SRC_CC += main.cc
SRC_CC += serial.cc
SRC_CC += block.cc
INC_DIR += $(PRG_DIR)
INC_DIR += $(PRG_DIR)/../../include
INC_DIR += $(PRG_DIR)/../imx53
vpath main.cc $(PRG_DIR)/../imx53
vpath % $(PRG_DIR)/../..

View File

@ -1,3 +0,0 @@
REQUIRES = hw_imx53_qsb
include $(PRG_DIR)/../imx53/target.inc

View File

@ -1,3 +0,0 @@
REQUIRES = hw_usb_armory
include $(PRG_DIR)/../imx53/target.inc

View File

@ -0,0 +1,3 @@
TARGET = tz_vmm
LIBS += tz_vmm
SRC_CC += empty.cc