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>
This commit is contained in:
parent
6b3a0417c4
commit
fedf4815ba
@ -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/ ; \
|
||||
|
Loading…
Reference in New Issue
Block a user