mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Adding initial http daemon implementation
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
BOOTLOADER_ADDRESS=0x100
|
||||
|
||||
CC = sdcc
|
||||
CC_FLAGS = -mmcs51 -Ihello-world -Iuip
|
||||
CC_FLAGS = -mmcs51 -Ihttpd -Iuip
|
||||
ASM = sdas8051
|
||||
AFLAGS= -plosgff
|
||||
|
||||
SUBDIRS := uip hello-world
|
||||
SUBDIRS := uip httpd
|
||||
SUBDIRSCLEAN=$(addsuffix clean,$(SUBDIRS))
|
||||
|
||||
all: $(SUBDIRS) rtlplayground.bin injector
|
||||
|
||||
SRCS = rtlplayground.c rtl837x_flash.c rtl837x_phy.c rtl837x_port.c cmd_parser.c
|
||||
OBJS = ${SRCS:.c=.rel}
|
||||
OBJS += uip/psock.rel uip/timer.rel uip/uip-fw.rel uip/uip-neighbor.rel uip/uip-split.rel uip/uip.rel uip/uip_arp.rel uip/uiplib.rel hello-world/hello-world.rel
|
||||
OBJS += uip/timer.rel uip/uip-fw.rel uip/uip-neighbor.rel uip/uip-split.rel uip/uip.rel uip/uip_arp.rel uip/uiplib.rel httpd/httpd.rel
|
||||
|
||||
|
||||
$(SUBDIRS):
|
||||
@@ -20,6 +20,7 @@ $(SUBDIRS):
|
||||
|
||||
clean:
|
||||
make -C uip clean
|
||||
make -C httpd clean
|
||||
if [ -e rtlplayground.bin ]; then rm rtlplayground.bin; fi
|
||||
if [ -e rtlplayground.asm ]; then rm rtlplayground.asm; fi
|
||||
rm *.ihx *.lk *.lst *.map *.mem *.rel *.rst *.sym *.bin
|
||||
|
||||
Reference in New Issue
Block a user