Ready for use

This commit is contained in:
2021-10-14 01:23:15 +09:00
parent 63677629f0
commit 3f916a0cf7
5 changed files with 163 additions and 0 deletions

15
Makefile Executable file
View File

@@ -0,0 +1,15 @@
CROSS_COMPILE:=arm-linux-gnueabihf-
AS:=$(CROSS_COMPILE)as
CC:=$(CROSS_COMPILE)gcc
STRIP:=$(CROSS_COMPILE)strip
.PHONY:
all: AppMain.bin
.PHONY:
clean:
@rm -f *.bin *.elf
AppMain.bin:
@$(AS) main.S -o main.elf
@./extract.py -p main.elf AppMain.bin