summaryrefslogtreecommitdiff
path: root/src/Makedefs.in
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-10-08 09:22:03 -0700
committerKeith Packard <keithp@keithp.com>2013-10-08 09:22:03 -0700
commit6a1e398e590121458176758858bb4210f3eb5a55 (patch)
tree15f90c050ad470528af9f7d00ad2a7e2bb7fd47c /src/Makedefs.in
parent16965716c02eb79b449d9d3b264814d775660134 (diff)
Add --with parameters to configure for compiler selectionnew-state
This allows the user to specify which compiler to use for each target CPU. Also checks to make sure the arm compiler supports -m0 and -m3 cpu type flags. The build now actually uses the specified compilers too. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/Makedefs.in')
-rw-r--r--src/Makedefs.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Makedefs.in b/src/Makedefs.in
new file mode 100644
index 00000000..6dc9ab0f
--- /dev/null
+++ b/src/Makedefs.in
@@ -0,0 +1,10 @@
+ARM_CC=@ARM_CC@
+HAVE_ARM_M3_CC=@HAVE_ARM_M3_CC@
+HAVE_ARM_M0_CC=@HAVE_ARM_M0_CC@
+
+SDCC=@SDCC@
+HAVE_SDCC=@HAVE_SDCC@
+
+AVR_CC=@AVR_CC@
+AVR_OBJCOPY=@AVR_OBJCOPY@
+HAVE_AVR_CC=@HAVE_AVR_CC@