forked from xuos/xiuos
Modify Makefiles
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
# libipc = $(KERNEL_ROOT)/services/app/libipc.o
|
# libipc = $(KERNEL_ROOT)/services/app/libipc.o
|
||||||
# libsem = $(KERNEL_ROOT)/services/app/libsemaphore.o
|
# libsem = $(KERNEL_ROOT)/services/app/libsemaphore.o
|
||||||
|
|
||||||
SRC_DIR := core osal
|
SRC_DIR := class core osal
|
||||||
|
|
||||||
|
|
||||||
include $(KERNEL_ROOT)/compiler.mk
|
include $(KERNEL_ROOT)/compiler.mk
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
SRC_DIR := hub
|
||||||
|
|
||||||
|
|
||||||
|
include $(KERNEL_ROOT)/compiler.mk
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
include $(KERNEL_ROOT)/services/drivers/usb/components/usb.mk
|
||||||
|
|
||||||
|
objs = usbh_hub.o
|
||||||
|
|
||||||
|
all: ${objs}
|
||||||
|
@echo "generate $^"
|
||||||
|
@mv $^ $(KERNEL_ROOT)/services/drivers/usb/components
|
||||||
|
|
||||||
|
%.o: %.c
|
||||||
|
@echo "cc $^"
|
||||||
|
@${cc} ${cflags} ${c_useropts} ${INC_DIR} -o $@ -c $^
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef USBH_HUB_H_
|
#ifndef USBH_HUB_H_
|
||||||
#define USBH_HUB_H_
|
#define USBH_HUB_H_
|
||||||
|
|
||||||
|
#include "usb_hub.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user