From 7a89aa1ea7e1b02b5cd310986adf4239ec0ce91d Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 18 Feb 2019 12:59:05 -0800 Subject: altos: Move common build definitions to src/Makefile.defs This cleans up the build process for all architectures, providing a common place to specify vpath, cflags and build rules for various common files. Signed-off-by: Keith Packard --- src/nucleao-32/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nucleao-32') diff --git a/src/nucleao-32/Makefile b/src/nucleao-32/Makefile index 1ab2eea1..fba99c88 100644 --- a/src/nucleao-32/Makefile +++ b/src/nucleao-32/Makefile @@ -58,7 +58,7 @@ PRODUCT=Nucleo-32 PRODUCT_DEF=-DNUCLEO IDPRODUCT=0x000a -CFLAGS = $(PRODUCT_DEF) $(STMF0_CFLAGS) -Os -g +CFLAGS = $(PRODUCT_DEF) $(STMF0_CFLAGS) LDFLAGS=$(CFLAGS) -L$(TOPDIR)/stmf0 -Wl,-Tload.ld -n -- cgit v1.2.3