⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 isp116x系列USB芯片在LINUX下的驱动程序
💻
字号:
#This is for 1161 Host ControllerCC = gcc#the incliude path should be the kernel source code include pathINCLUDE = /usr/src/linux-2.4.20-otg/include#Mandatory FlagsMFLAGS = -D__KERNEL__ -DPHCI_MEM_SLAB#Optional Flags# 	Engineering Sample## NO_PTD_B5_5	If PTD header B5_5 is not used (for elariler versions of ISP1161 (ES1, ES2)#EFLAGS = -DNO_PTD_B5_5#	Debugging# __TRACE_LOW_LEVEL__		function entry printing, urb, ptd header printing ..... detailed# __TRACE_MID_LEVEL__		function entry printing (excludes frequent calling functions)# __TRACE_HIGH_LEVEL__		function entry printing, urb, ptd header printing ..... detailed#DFLAGS = -D__PHCI_DEBUG_FUNC__OFLAGS = $(DFLAGS) $(EFLAGS)#compilation flags CFLAGS = $(MFLAGS) $(OFLAGS)  -O -g -Wall -I$(INCLUDE)VER = $(shell awk -F\" '/REL/ {print $$2}' $(INCLUDE)/linux/version.h)SRC = hcd_1161.cOBJ = hcd_1161.oall: $(OBJ)usb-phci.o: 		$(CC) $(CFLAGS) -c $(SRC)	install: 		install -c hcd_1161.o /lib/modules/$(VER)/kernel/drivers/usb/clean:		rm -f $(OBJ) core

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -