The rule calls install_init twice. Once in the install stage and once in
the targetinstall stage. If never calls install_finish.

Remove install_init, since the rule doesn't create a package.

Signed-off-by: Michael Tretter <[email protected]>
---
 rules/optee.make | 2 --
 1 file changed, 2 deletions(-)

diff --git a/rules/optee.make b/rules/optee.make
index 52a71962eeca..e0655565efc3 100644
--- a/rules/optee.make
+++ b/rules/optee.make
@@ -61,7 +61,6 @@ OPTEE_OUT_DIR        := \
 $(STATEDIR)/optee.install:
        @$(call targetinfo)
 
-       @$(call install_init, optee)
        @install -vd -m755 $(OPTEE_PKGDIR)/usr/lib/optee-os
        @cp -vr $(OPTEE_OUT_DIR)/$(OPTEE_LIB_DIR)/* 
$(OPTEE_PKGDIR)/usr/lib/optee-os
 
@@ -81,7 +80,6 @@ OPTEE_BINARIES := \
 $(STATEDIR)/optee.targetinstall:
        @$(call targetinfo)
 
-       @$(call install_init, optee)
        @$(foreach binary, $(OPTEE_BINARIES), \
                $(call ptx/image-install, OPTEE, \
                        $(OPTEE_OUT_DIR)/core/$(binary), \
-- 
2.47.2


Reply via email to