Skip to content

Commit faaeeb6

Browse files
committed
bindist: Fix copying of binutils and ldscripts
1 parent e8ce432 commit faaeeb6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -760,8 +760,9 @@ bindist:
760760
cp $(FBC_EXE) $(packbin)
761761
cp -r $(rootdir)inc/* $(packinc)
762762
ifdef ENABLE_STANDALONE
763-
cp bin/$(FBTARGET)/* $(packbin)
764-
cp lib/$(FBTARGET)/*.a lib/$(FBTARGET)/*.o $(packlib)
763+
mkdir -p $(FBPACKAGE)/bin/$(FBTARGET)
764+
cp bin/$(FBTARGET)/* $(FBPACKAGE)/bin/$(FBTARGET)
765+
cp lib/$(FBTARGET)/*.a lib/$(FBTARGET)/*.o lib/$(FBTARGET)/*.x $(packlib)
765766
else
766767
cp $(RTL_LIBS) $(GFX_LIBS) $(packlib)
767768
endif

0 commit comments

Comments
 (0)