mirror of
https://github.com/taubel/sdk-ameba-v4.0b-gcc.git
synced 2026-07-09 04:45:43 +00:00
initial commit
This commit is contained in:
commit
60a7afcc83
2528 changed files with 1001987 additions and 0 deletions
37
project/realtek_amebaz_va0_example/GCC-RELEASE/Makefile
Normal file
37
project/realtek_amebaz_va0_example/GCC-RELEASE/Makefile
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
all: ram_all
|
||||
|
||||
OS := $(shell uname)
|
||||
|
||||
.PHONY: toolchain
|
||||
toolchain:
|
||||
ifeq ($(OS),Linux)
|
||||
if [ ! -d ../../../tools/arm-none-eabi-gcc/4_8-2014q3 ] ; then tar -jxf ../../../tools/arm-none-eabi-gcc/gcc-arm-none-eabi-4_8-2014q3-20140805-linux.tar.bz2 -C ../../../tools/arm-none-eabi-gcc/ ; mv ../../../tools/arm-none-eabi-gcc/gcc-arm-none-eabi-4_8-2014q3 ../../../tools/arm-none-eabi-gcc/4_8-2014q3 ; fi
|
||||
else
|
||||
if [ ! -d ../../../tools/arm-none-eabi-gcc/4_8-2014q3 ] ; then tar -xf ../../../tools/arm-none-eabi-gcc/4_8-2014q3.tar -C ../../../tools/arm-none-eabi-gcc/ ; fi
|
||||
endif
|
||||
|
||||
|
||||
.PHONY: ram_all
|
||||
ram_all: toolchain
|
||||
@$(MAKE) -f application.mk
|
||||
|
||||
.PHONY: mp
|
||||
mp: toolchain
|
||||
@$(MAKE) -f application.mk mp
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@$(MAKE) -f application.mk clean
|
||||
|
||||
.PHONY: flash debug ramdebug setup
|
||||
setup:
|
||||
@$(MAKE) -f application.mk $(MAKECMDGOALS)
|
||||
|
||||
flash: toolchain
|
||||
@$(MAKE) -f application.mk flashburn
|
||||
|
||||
debug: toolchain
|
||||
@$(MAKE) -f application.mk debug
|
||||
|
||||
ramdebug: toolchain
|
||||
@$(MAKE) -f application.mk ramdebug
|
||||
Loading…
Add table
Add a link
Reference in a new issue