arm-trusted-firmware-tools: remove tools which require libopenssl
authorDaniel Golle <daniel@makrotopia.org>
Tue, 9 Feb 2021 20:20:32 +0000 (20:20 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 9 Feb 2021 20:24:58 +0000 (20:24 +0000)
They are anyway not used for now, so only build fiptool and sptool.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/boot/arm-trusted-firmware-tools/Makefile

index af9957c3a93bf3a4f43c310846be950fd5f1efa7..189817f00a5ef7cd0f8e049718baa613a6f4c714 100644 (file)
@@ -31,14 +31,6 @@ endef
 
 HOST_CFLAGS += -Wall -Werror -pedantic -std=c99
 define Host/Compile
-       $(MAKE) -C \
-               $(HOST_BUILD_DIR)/tools/cert_create \
-               CFLAGS="$(HOST_CFLAGS)" \
-               LDFLAGS="$(HOST_LDFLAGS)"
-       $(MAKE) -C \
-               $(HOST_BUILD_DIR)/tools/encrypt_fw \
-               CFLAGS="$(HOST_CFLAGS)" \
-               LDFLAGS="$(HOST_LDFLAGS)"
        $(MAKE) -C \
                $(HOST_BUILD_DIR)/tools/fiptool \
                CFLAGS="$(HOST_CFLAGS)" \
@@ -52,16 +44,12 @@ endef
 define Host/Install
        $(INSTALL_DIR) $(STAGING_DIR_HOST)/bin/
        $(INSTALL_BIN) $(HOST_BUILD_DIR)/tools/fiptool/fiptool $(STAGING_DIR_HOST)/bin/
-       $(INSTALL_BIN) $(HOST_BUILD_DIR)/tools/cert_create/cert_create $(STAGING_DIR_HOST)/bin/
-       $(INSTALL_BIN) $(HOST_BUILD_DIR)/tools/encrypt_fw/encrypt_fw $(STAGING_DIR_HOST)/bin/
        $(INSTALL_BIN) $(HOST_BUILD_DIR)/tools/sptool/sptool $(STAGING_DIR_HOST)/bin/
        $(INSTALL_BIN) $(HOST_BUILD_DIR)/tools/sptool/sp_mk_generator.py $(STAGING_DIR_HOST)/bin/
 endef
 
 define Host/Clean
        rm -f $(STAGING_DIR_HOST)/bin/fiptool
-       rm -f $(STAGING_DIR_HOST)/bin/cert_create
-       rm -f $(STAGING_DIR_HOST)/bin/encrypt_fw
        rm -f $(STAGING_DIR_HOST)/bin/sptool
        rm -f $(STAGING_DIR_HOST)/bin/sp_mk_generator.py
 endef