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

📄 makefile

📁 freescale ppc sec2加解密单元驱动
💻
字号:
## SEC2 device driver makefile for both VxWorks and Linux targets## last update 02-Feb-2005 sec## This makefile is written to build the SEC2.x device driver on both VxWorks# and linuxppc platforms. The output module is named "sec2drv.o" for either# platform. The makefile looks for the variable WIND_HOST_TYPE to determine if# a VxWorks build is warranted.## If you are building for linuxppc, it assumes that the driver source code resides# in the kernel source tree at <linuxsrc>/drivers/sec2. The variable KERNEL_DIR# needs to contain the proper location for your installation#RM      = rmRMFLAGS = -rfAR      = arARFLAGS = -rsDRIVER.OBJ = sec2drv.oO_TARGET := sec2drv.oobj-$(CONFIG_85xx_SEC) += sec2drv.oDBG = -DDBG# VxWorks compiler defs. This assumes that the "proper" compiler can be# picked up by your PATH variable. If not, you'll have to override the# CC definitionifdef WIND_HOST_TYPECC      = ccppcCCFLAGS = -g -mcpu=8540 -mstrict-align -ansi -fno-builtin -mlongcall -DCPU=PPC85XX -DTOOL_FAMILY=gnu -DTOOL=gnu -DVXWORKS $(DBG) -I. -I$(WIND_BASE)/target/h/ LD	= ccppcLDFLAGS = -r -nostdlib -Wl,-X -T c:/Tornado2.2/target/h/tool/gnu/ldscripts/link.OUTelseCCFLAGS = -D__KERNEL__ -I$(TOPDIR)/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointerADDED_CFLAGS = -I$(TOPDIR)/arch/ppc $(DBG) -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -Wa,-me500MODFLAGS = -DMODULE -DEXPORT_SYMTAB  -D_LINUX_VER -D__KERNEL_API__ -nostdinc -iwithprefix include -DKBUILD_BASENAME=t2drvLDFLAGS = -rinclude $(TOPDIR)/Rules.makeendifOBJS =	sec2_cha.o sec2isr.o sec2_dpd.o sec2_init.o sec2_io.o sec2_ioctl.o \	sec2_request.o sec2_sctrMap.oall:	$(DRIVER.OBJ)clean:	$(RM) $(RMFLAGS) $(OBJS) $(DRIVER.OBJ)    sec2_cha.o:	sec2_cha.c Sec2Driver.h Sec2.h Sec2Notify.hsec2isr.o:	sec2isr.c Sec2Driver.h Sec2.h Sec2Notify.hsec2_dpd.o:	sec2_dpd.c Sec2Driver.h Sec2.h Sec2Notify.h Sec2Descriptors.h sec2_dpd_Table.hsec2_init.o:	sec2_init.c Sec2Driver.h Sec2.h Sec2Notify.hsec2_io.o:	sec2_io.c Sec2Driver.h Sec2.h Sec2Notify.hsec2_ioctl.o:	sec2_ioctl.c Sec2Driver.h Sec2.h Sec2Notify.hsec2_request.o:	sec2_request.c Sec2Driver.h Sec2.h Sec2Notify.hsec2_sctrMap.o:	sec2_sctrMap.c Sec2Driver.h Sec2.h Sec2Notify.h%.o:	%.c	$(CC) $(CCFLAGS) $(ADDED_CFLAGS) $(MODFLAGS) -c -o $@ $<	$(DRIVER.OBJ)	: $(OBJS)	$(LD) $(LDFLAGS) -o $@ $(OBJS)

⌨️ 快捷键说明

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