package/libopenssl: use $(RM) instead of rm
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> (cherry picked from commit b39286acfc134d66d56b78720c4a6a7547e16b16) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
4fce66e217
commit
5a7cffde18
@ -135,8 +135,8 @@ endef
|
|||||||
|
|
||||||
define LIBOPENSSL_INSTALL_TARGET_CMDS
|
define LIBOPENSSL_INSTALL_TARGET_CMDS
|
||||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
|
||||||
rm -rf $(TARGET_DIR)/usr/lib/ssl
|
$(RM) -rf $(TARGET_DIR)/usr/lib/ssl
|
||||||
rm -f $(TARGET_DIR)/usr/bin/c_rehash
|
$(RM) -f $(TARGET_DIR)/usr/bin/c_rehash
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# libdl has no business in a static build
|
# libdl has no business in a static build
|
||||||
@ -166,7 +166,7 @@ endif
|
|||||||
|
|
||||||
ifneq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),y)
|
ifneq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),y)
|
||||||
define LIBOPENSSL_REMOVE_LIBOPENSSL_ENGINES
|
define LIBOPENSSL_REMOVE_LIBOPENSSL_ENGINES
|
||||||
rm -rf $(TARGET_DIR)/usr/lib/engines-1.1
|
$(RM) -rf $(TARGET_DIR)/usr/lib/engines-1.1
|
||||||
endef
|
endef
|
||||||
LIBOPENSSL_POST_INSTALL_TARGET_HOOKS += LIBOPENSSL_REMOVE_LIBOPENSSL_ENGINES
|
LIBOPENSSL_POST_INSTALL_TARGET_HOOKS += LIBOPENSSL_REMOVE_LIBOPENSSL_ENGINES
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user