X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm32f1%2FMakefile.defs;fp=src%2Fstm32f1%2FMakefile.defs;h=5ff75081fc6102d251bf265214660aee1990c4bc;hb=1311eba0bbe32bc1759a3b11b00c78774843383c;hp=0000000000000000000000000000000000000000;hpb=7b2588ee723827b9be2a2d5f287afb1b5d351b23;p=fw%2Faltos diff --git a/src/stm32f1/Makefile.defs b/src/stm32f1/Makefile.defs new file mode 100644 index 00000000..5ff75081 --- /dev/null +++ b/src/stm32f1/Makefile.defs @@ -0,0 +1,11 @@ +ifndef TOPDIR +TOPDIR=.. +endif + +include $(TOPDIR)/stm32f1/Makefile-stm32f1.defs + +STM32F1_LINKER_SCRIPT?=altos.ld + +LDFLAGS=$(CFLAGS) -L$(TOPDIR)/stm32f1 -T$(STM32F1_LINKER_SCRIPT) -n -Wl,--gc-sections + +.DEFAULT_GOAL=all