diff options
| author | Ilya Dmitrichenko | 2014-04-21 21:08:15 +0100 |
|---|---|---|
| committer | Ilya Dmitrichenko | 2014-04-21 21:08:15 +0100 |
| commit | b554bc5691ed077446db89c2132a6da78906a67a (patch) | |
| tree | 882332a073bbfe725b49824ba0dea3464c51df83 /qemu-arm | |
| parent | 2face99cfe9ab9c050e6d8299130bec00bf9653e (diff) | |
qemu-arm: update makefile (d553be5).
Diffstat (limited to 'qemu-arm')
| -rw-r--r-- | qemu-arm/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qemu-arm/Makefile b/qemu-arm/Makefile index c40507286..2f03c0c8d 100644 --- a/qemu-arm/Makefile +++ b/qemu-arm/Makefile @@ -9,8 +9,12 @@ include ../py/py.mk CROSS_COMPILE = arm-none-eabi- +INC = -I. +INC += -I$(PY_SRC) +INC += -I$(BUILD) + CFLAGS_CORTEX_M3 = -mthumb -mcpu=cortex-m3 -CFLAGS = -I. -I$(PY_SRC) -Wall -ansi -std=gnu99 $(CFLAGS_CORTEX_M3) $(COPT) \ +CFLAGS = $(INC) -Wall -Werror -ansi -std=gnu99 $(CFLAGS_CORTEX_M3) $(COPT) \ -flto -ffunction-sections -fdata-sections #Debugging/Optimization |
