Commit fedf4815 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

gcc-final: ensure TARGET_DIR/usr/lib exists before copying to it



Got dropped in the toolchain/gcc -> package/gcc conversion.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 6b3a0417
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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/ ; \