From fedf4815ba8fd7e600e9894ad321eb99049f9223 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 17 Jul 2013 09:31:06 +0200 Subject: [PATCH] gcc-final: ensure TARGET_DIR/usr/lib exists before copying to it Got dropped in the toolchain/gcc -> package/gcc conversion. Signed-off-by: Peter Korsgaard --- package/gcc/gcc-final/gcc-final.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/gcc/gcc-final/gcc-final.mk b/package/gcc/gcc-final/gcc-final.mk index b89b2b72b6..0d9d581ac7 100644 --- a/package/gcc/gcc-final/gcc-final.mk +++ b/package/gcc/gcc-final/gcc-final.mk @@ -128,6 +128,7 @@ endif ifneq ($(HOST_GCC_FINAL_USR_LIBS),) define HOST_GCC_FINAL_INSTALL_USR_LIBS + mkdir -p $(TARGET_DIR)/usr/lib for i in $(HOST_GCC_FINAL_USR_LIBS) ; do \ cp -dpf $(HOST_DIR)/usr/$(GNU_TARGET_NAME)/lib*/$${i}.so* \ $(STAGING_DIR)/usr/lib/ ; \ -- 2.30.2