summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-07-17 07:31:06 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-07-17 07:31:06 (GMT)
commitfedf4815ba8fd7e600e9894ad321eb99049f9223 (patch)
tree569bb088f046251db4fdf416c36b889fa28d65db
parent6b3a0417c468617e7619b244e9d29d06224249ad (diff)
downloadbuildroot-fedf4815ba8fd7e600e9894ad321eb99049f9223.tar.gz
buildroot-fedf4815ba8fd7e600e9894ad321eb99049f9223.tar.bz2
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 <jacmet@sunsite.dk>
-rw-r--r--package/gcc/gcc-final/gcc-final.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/gcc/gcc-final/gcc-final.mk b/package/gcc/gcc-final/gcc-final.mk
index b89b2b7..0d9d581 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/ ; \