binutils LD: build script for Kolibri.

git-svn-id: svn://kolibrios.org@5223 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2014-12-06 10:12:58 +00:00
parent 5490489cbb
commit 1e6a19cfe9
2 changed files with 24 additions and 1 deletions

View File

@ -5,7 +5,7 @@ LIB_DIR:= $(SDK_DIR)/lib
CFLAGS_OPT = -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -U_MSC_VER -O2
CFLAGS_OPT+= -fomit-frame-pointer -fno-ident -mno-ms-bitfields
CFLAGS_OPT+= -W -Wall -Wmissing-prototypes -Wno-format -Werror
CFLAGS = -c $(CFLAGS_OPT)
CFLAGS = -c -save-temps $(CFLAGS_OPT)
INCLUDES= -I. -I../bfd -I../include -I$(SDK_DIR)/sources/newlib/libc/include

View File

@ -0,0 +1,23 @@
#SHS
/kolibrios/as -o deffilep.o deffilep.s
/kolibrios/as -o ei386pe.o ei386pe.s
/kolibrios/as -o ldcref.o ldcref.s
/kolibrios/as -o ldctor.o ldctor.s
/kolibrios/as -o ldemul.o ldemul.s
/kolibrios/as -o ldexp.o ldexp.s
/kolibrios/as -o ldfile.o ldfile.s
/kolibrios/as -o ldgram.o ldgram.s
/kolibrios/as -o ldlang.o ldlang.s
/kolibrios/as -o ldlex-wrapper.o ldlex-wrapper.s
/kolibrios/as -o ldmain.o ldmain.s
/kolibrios/as -o ldmisc.o ldmisc.s
/kolibrios/as -o ldver.o ldver.s
/kolibrios/as -o ldwrite.o ldwrite.s
/kolibrios/as -o lexsup.o lexsup.s
/kolibrios/as -o mri.o mri.s
/kolibrios/as -o pe-dll.o pe-dll.s
/kolibrios/ld @ld.lnk
/kolibrios/objcopy ld-new ld -O binary