diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-17 17:44:52 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-17 17:44:52 +0100 |
commit | 2d1f865d16c5a7e27f5e46c96d087a7ff8a49012 (patch) | |
tree | fbdabf6e17daaebabcc6ddb0e726565b52abdc28 /bare-arm | |
parent | eeffbb694809d6ee1434842bc234eb44714c25ac (diff) | |
parent | 70a7d7a94397cbe01fd5457e34f3d3368300f2ac (diff) | |
download | micropython-2d1f865d16c5a7e27f5e46c96d087a7ff8a49012.tar.gz micropython-2d1f865d16c5a7e27f5e46c96d087a7ff8a49012.zip |
Merge branch 'relocatable-build-dir' of github.com:lurch/micropython into lurch-relocatable-build-dir
Diffstat (limited to 'bare-arm')
-rw-r--r-- | bare-arm/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bare-arm/Makefile b/bare-arm/Makefile index 0e9f1f7c39..ace508ebd8 100644 --- a/bare-arm/Makefile +++ b/bare-arm/Makefile @@ -8,8 +8,12 @@ include ../py/py.mk CROSS_COMPILE = arm-none-eabi- +INC = -I. +INC += -I$(PY_SRC) +INC += -I$(BUILD)/includes + CFLAGS_CORTEX_M4 = -mthumb -mtune=cortex-m4 -mabi=aapcs-linux -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -Wdouble-promotion -CFLAGS = -I. -I$(PY_SRC) -Wall -Werror -ansi -std=gnu99 $(CFLAGS_CORTEX_M4) $(COPT) +CFLAGS = $(INC) -Wall -Werror -ansi -std=gnu99 $(CFLAGS_CORTEX_M4) $(COPT) #Debugging/Optimization ifeq ($(DEBUG), 1) |