X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm-bringup%2FMakefile;h=b0943e5665fb34f94ee1872755df8d0f040e83a9;hb=bb7522acf040f41740ecd059e3d5d2480b652420;hp=33ecd710c4ebe99d9341d4c93d70f943a871a6d9;hpb=aa169b80039728e35b0dec3be66a8483d48a3458;p=fw%2Faltos diff --git a/src/stm-bringup/Makefile b/src/stm-bringup/Makefile index 33ecd710..b0943e56 100644 --- a/src/stm-bringup/Makefile +++ b/src/stm-bringup/Makefile @@ -1,16 +1,18 @@ -vpath % ..:../core:../product:../drivers:../stm +vpath % ..:../kernel:../product:../drivers:../stm vpath ao-make-product.5c ../util ifndef VERSION include ../Version endif +TOPDIR=.. +include $(TOPDIR)/Makedefs CC=arm-none-eabi-gcc OBJCOPY=arm-none-eabi-objcopy -C_LIB=-lpdclib-cortex-m3 +C_LIB=$(PDCLIB_LIBS_M3) -DEF_CFLAGS=-g -std=gnu99 -Os -mlittle-endian -mthumb -ffreestanding -nostdlib -I. -I../stm +DEF_CFLAGS=-g -std=gnu99 -Os -mlittle-endian -mthumb -ffreestanding -nostdlib -I. -I../stm $(PDCLIB_INCLUDES) # to run from SRAM LD_FLAGS_RAM=-L../stm -Wl,-Taltos-ram.ld