package/optee-test: fix dependency in TAs build
authorEtienne Carriere <etienne.carriere@linaro.org>
Mon, 18 Mar 2019 23:21:06 +0000 (00:21 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 20 Mar 2019 22:03:49 +0000 (23:03 +0100)
Fix TA build command to build TA libraries before TAs.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/optee-test/optee-test.mk

index 73accf3d1e8f94b4bf6e665db56aca4f7829b9c6..abed09d5e3ead177f32445fc0a06c1a1fcd59d6c 100644 (file)
@@ -16,7 +16,7 @@ OPTEE_TEST_CONF_OPTS = -DOPTEE_TEST_SDK=$(OPTEE_OS_SDK)
 # Trusted Application are not built from CMake due to ta_dev_kit
 # dependencies. We must build and install them on target.
 define OPTEE_TEST_BUILD_TAS
-       $(foreach f,$(wildcard $(@D)/ta/*/Makefile), \
+       $(foreach f,$(wildcard $(@D)/ta/*_lib/Makefile) $(wildcard $(@D)/ta/*/Makefile), \
                $(TARGET_CONFIGURE_OPTS) \
                $(MAKE) CROSS_COMPILE=$(TARGET_CROSS) \
                        TA_DEV_KIT_DIR=$(OPTEE_OS_SDK) \