forked from KolibriOS/kolibrios
Add autobuild to uARM
git-svn-id: svn://kolibrios.org@8333 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
5c1655af07
commit
4e4d10b4e1
@ -19,8 +19,8 @@ SRC = RAM.c icache.c MMU.c pxa255_PwrClk.c pxa255_IC.c pxa255_GPIO.c callout_RAM
|
||||
OBJECTS = $(patsubst %.c, %.o, $(SRC))
|
||||
|
||||
default: $(patsubst %.c,%.o,$(SRC))
|
||||
kos32-ld $(LDFLAGS) $(LIBPATH) --subsystem console -o uARMk $(OBJECTS) -lgcc -lc.dll
|
||||
objcopy uARMk -O binary
|
||||
kos32-ld $(LDFLAGS) $(LIBPATH) --subsystem console -o uARM $(OBJECTS) -lgcc -lc.dll
|
||||
objcopy uARM -O binary
|
||||
|
||||
%.o : %.c Makefile $(SRC)
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -o $@ $<
|
||||
|
7
contrib/other/uarm/Tupfile.lua
Executable file
7
contrib/other/uarm/Tupfile.lua
Executable file
@ -0,0 +1,7 @@
|
||||
if tup.getconfig("NO_GCC") ~= "" then return end
|
||||
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../programs" or tup.getconfig("HELPERDIR")
|
||||
tup.include(HELPERDIR .. "/use_gcc.lua")
|
||||
tup.include(HELPERDIR .. "/use_newlib.lua")
|
||||
|
||||
compile_gcc{"RAM.c", "icache.c", "MMU.c", "pxa255_PwrClk.c", "pxa255_IC.c", "pxa255_GPIO.c", "callout_RAM.c", "rt.c", "pxa255_RTC.c", "SoC.c", "pxa255_UART.c", "pxa255_TIMR.c", "mem.c", "dcache.c", "pxa255_LCD.c", "cp15.c", "pxa255_DMA.c", "math64.c", "CPU.c", "main_pc.c", "pxa255_DSP.c"}
|
||||
link_gcc("uARM")
|
Loading…
Reference in New Issue
Block a user