diff options
| author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-08-05 12:59:36 -0400 |
|---|---|---|
| committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-08-05 12:59:36 -0400 |
| commit | 3feaff9754eaaab7d212ead606969bf66c44fce2 (patch) | |
| tree | c84506dd8cc145e6fff8eb942ec553f63f83fd56 /Makefile | |
| parent | 36b24f9cce2c0fc0be5d64afe126f61ed722022f (diff) | |
Makefile: move flag settings after build-rules and -templates.
We'll need to mess with the linker flags to add support for ARM
toolchains other than CodeSourcery's. Since the toolchain is
determined in build-rules.mk, decisions that depend on it have to
happen after it's included.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -35,6 +35,13 @@ MEMORY_TARGET ?= flash include $(MAKEDIR)/target-config.mk ## +## Build rules and useful templates +## + +include $(MAKEDIR)/build-rules.mk +include $(MAKEDIR)/build-templates.mk + +## ## Compilation flags ## @@ -57,13 +64,6 @@ LDFLAGS = $(TARGET_LDFLAGS) -mcpu=cortex-m3 -mthumb \ # -Xlinker --print-gc-sections \ ## -## Build rules and useful templates -## - -include $(MAKEDIR)/build-rules.mk -include $(MAKEDIR)/build-templates.mk - -## ## Set all submodules here ## |
