diff options
| author | Johan Hendriks <hendriks.johan@gmail.com> | 2015-02-28 12:20:04 +0100 |
|---|---|---|
| committer | danicampora <danicampora@gmail.com> | 2015-02-28 19:03:17 +0100 |
| commit | 6a41bf99bdd2e19d6922864bf6845a91b3ab6b99 (patch) | |
| tree | a67a6e927f6f989743f99204d33ab46443f7cdea /cc3200/Makefile | |
| parent | 7711afbb4a0bb4f250ec550591cbfa685af6ff9c (diff) | |
cc3200: Create separate release/debug build directories
Diffstat (limited to 'cc3200/Makefile')
| -rw-r--r-- | cc3200/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cc3200/Makefile b/cc3200/Makefile index 246445fb5..29318d44e 100644 --- a/cc3200/Makefile +++ b/cc3200/Makefile @@ -5,16 +5,16 @@ ifeq ($(wildcard boards/$(BOARD)/.),) $(error Invalid BOARD specified) endif +BTYPE ?= release + # If the build directory is not given, make it reflect the board name. -BUILD ?= build/$(BOARD) +BUILD ?= build/$(BOARD)/$(BTYPE) include ../py/mkenv.mk -include ../../localconfig.mk CROSS_COMPILE ?= arm-none-eabi- -BTYPE ?= release - CFLAGS_CORTEX_M4 = -mthumb -mtune=cortex-m4 -march=armv7e-m -mabi=aapcs -mcpu=cortex-m4 -msoft-float -mfloat-abi=soft -fsingle-precision-constant -Wdouble-promotion CFLAGS = -Wall -Wpointer-arith -Werror -ansi -std=gnu99 -nostdlib $(CFLAGS_CORTEX_M4) CFLAGS += -g -ffunction-sections -fdata-sections -fno-common -fsigned-char -mno-unaligned-access |
