forked from xuos/xiuos
Modify code tree
This commit is contained in:
parent
28d0cc056c
commit
b17ce138fa
|
@ -11,7 +11,7 @@
|
|||
# libipc = $(KERNEL_ROOT)/services/app/libipc.o
|
||||
# libsem = $(KERNEL_ROOT)/services/app/libsemaphore.o
|
||||
|
||||
SRC_DIR := class core osal port
|
||||
SRC_DIR := class core mem osal port
|
||||
|
||||
|
||||
include $(KERNEL_ROOT)/compiler.mk
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
include $(KERNEL_ROOT)/services/drivers/usb/components/usb.mk
|
||||
|
||||
objs = usb_mem.o
|
||||
|
||||
all: ${objs}
|
||||
@echo "generate $^"
|
||||
@mv $^ $(KERNEL_ROOT)/services/drivers/usb/components
|
||||
|
||||
%.o: %.c
|
||||
@echo "cc $^"
|
||||
@${cc} ${cflags} ${c_useropts} ${INC_DIR} -o $@ -c $^
|
|
@ -0,0 +1,2 @@
|
|||
#include "usb_mem.h"
|
||||
|
Loading…
Reference in New Issue