Modify Makefiles

This commit is contained in:
xj 2024-06-05 23:16:06 -07:00
parent 31c23b7ad0
commit 1017bf724c
1 changed files with 7 additions and 0 deletions

View File

@ -2,3 +2,10 @@ include $(KERNEL_ROOT)/services/drivers/usb/components/usb.mk
objs += usb_osal.o
all: ${objs}
@echo "generate $^"
@mv $^ $(KERNEL_ROOT)/services/drivers/usb/components
%.o: %.c
@echo "cc $^"
@${cc} ${cflags} ${c_useropts} ${INC_DIR} -o $@ -c $^