mirror of
https://github.com/jialexd/sdk-ameba-v4.0c_180328.git
synced 2026-07-13 23:15:45 +00:00
first add sdk
This commit is contained in:
commit
f91efd1250
3915 changed files with 1291882 additions and 0 deletions
37
project/realtek_amebaz_va0_example/GCC-RELEASE/Makefile
Executable file
37
project/realtek_amebaz_va0_example/GCC-RELEASE/Makefile
Executable 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