Fix strace dependency
Signed-off-by: Victor Chong <victor.chong@linaro.org>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
diff --git a/hikey.mk b/hikey.mk
index b01d9da..f86b0d5 100644
--- a/hikey.mk
+++ b/hikey.mk
@@ -55,7 +55,7 @@
# Targets
################################################################################
.PHONY: all
-all: prepare arm-tf boot-img lloader nvme strace
+all: prepare arm-tf boot-img lloader nvme
.PHONY: clean
clean: arm-tf-clean atf-fb-clean busybox-clean edk2-clean linux-clean \
@@ -264,7 +264,7 @@
# Root FS
################################################################################
.PHONY: filelist-tee
-filelist-tee: filelist-tee-common
+filelist-tee: strace filelist-tee-common
env TOP=$(ROOT) $(expand-env-var) <$(PATCHES_PATH)/rootfs/initramfs-add-files.txt >> $(GEN_ROOTFS_FILELIST)
.PHONY: update_rootfs
diff --git a/hikey960.mk b/hikey960.mk
index c45d724..61e88a3 100644
--- a/hikey960.mk
+++ b/hikey960.mk
@@ -49,7 +49,7 @@
# Targets
################################################################################
.PHONY: all
-all: arm-tf boot-img lloader strace
+all: arm-tf boot-img lloader
.PHONY: clean
clean: arm-tf-clean busybox-clean edk2-clean linux-clean optee-os-clean \
@@ -254,7 +254,7 @@
# Root FS
################################################################################
.PHONY: filelist-tee
-filelist-tee: filelist-tee-common
+filelist-tee: strace filelist-tee-common
env TOP=$(ROOT) $(expand-env-var) <$(PATCHES_PATH)/rootfs/initramfs-add-files.txt >> $(GEN_ROOTFS_FILELIST)
.PHONY: update_rootfs
diff --git a/qemu_v8.mk b/qemu_v8.mk
index 7aca89b..60b2c1e 100644
--- a/qemu_v8.mk
+++ b/qemu_v8.mk
@@ -32,7 +32,7 @@
all: benchmark-app
clean: benchmark-app-clean
endif
-all: arm-tf edk2 qemu soc-term linux strace update_rootfs optee-examples
+all: arm-tf edk2 qemu soc-term linux update_rootfs optee-examples
clean: arm-tf-clean busybox-clean edk2-clean linux-clean \
optee-os-clean optee-client-clean qemu-clean \
soc-term-clean check-clean strace-clean optee-examples-clean
@@ -203,7 +203,7 @@
################################################################################
# Root FS
################################################################################
-filelist-tee: filelist-tee-common
+filelist-tee: strace filelist-tee-common
ifneq ("$(wildcard $(STRACE_PATH)/strace)","")
@echo "file /bin/strace $(STRACE_PATH)/strace 755 0 0" >> $(GEN_ROOTFS_FILELIST)
endif