mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Adding uip lib support
This commit is contained in:
@@ -5,11 +5,16 @@ CC_FLAGS = -mmcs51
|
|||||||
ASM = sdas8051
|
ASM = sdas8051
|
||||||
AFLAGS= -plosgff
|
AFLAGS= -plosgff
|
||||||
|
|
||||||
all: rtlplayground.bin injector
|
SUBDIRS := uip
|
||||||
|
|
||||||
|
all: $(SUBDIRS) rtlplayground.bin injector
|
||||||
|
|
||||||
SRCS= rtlplayground.c rtl837x_flash.c rtl837x_phy.c rtl837x_port.c cmd_parser.c
|
SRCS= rtlplayground.c rtl837x_flash.c rtl837x_phy.c rtl837x_port.c cmd_parser.c
|
||||||
OBJS= ${SRCS:.c=.rel}
|
OBJS= ${SRCS:.c=.rel}
|
||||||
|
|
||||||
|
$(SUBDIRS):
|
||||||
|
$(MAKE) -C $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
if [ -e rtlplayground.bin ]; then rm rtlplayground.bin; fi
|
if [ -e rtlplayground.bin ]; then rm rtlplayground.bin; fi
|
||||||
if [ -e rtlplayground.asm ]; then rm rtlplayground.asm; fi
|
if [ -e rtlplayground.asm ]; then rm rtlplayground.asm; fi
|
||||||
@@ -38,5 +43,5 @@ rtlplayground.ihx: crtstart.rel $(OBJS)
|
|||||||
injector: injector.c
|
injector: injector.c
|
||||||
gcc $^ -o $@
|
gcc $^ -o $@
|
||||||
|
|
||||||
.PHONY: clean all
|
.PHONY: clean all $(SUBDIRS)
|
||||||
.PRECIOUS: %.rel %.ihx .img
|
.PRECIOUS: %.rel %.ihx .img
|
||||||
|
|||||||
Reference in New Issue
Block a user