📄 makefile
字号:
## Copyright (C) 2000 David A. Hinds -- dahinds@users.sourceforge.net## Makefile 1.121 2001/07/03 01:55:58## Include site dependent options and kernel configurationinclude ../config.mk# Don't remove "-O2" or bad things will happen! We use -O2 rather# than -O3 because it yields smaller code; this is not performance# critical stuff.CFLAGS = -O2 -Wall -Wstrict-prototypes -pipeCPPFLAGS += $(PCDEBUG) -D__KERNEL__ -DMODULECC = $(KCC) $(AFLAGS) $(KFLAGS)SRCS = cs.c cistpl.c rsrc_mgr.c bulkmem.c ds.cCORE = cs.o cistpl.o rsrc_mgr.o bulkmem.oMODULES = pcmcia_core.o ds.oifdef CONFIG_PCMCIAall: @echo "Your kernel is already configured with PCMCIA support."elseifdef CONFIG_CARDBUSSRCS += cardbus.c cb_enabler.cCORE += cardbus.oMODULES += cb_enabler.oendif# Which socket drivers do we need?ifeq ($(ARCH), arm)SRCS += sa1100.cMODULES += sa1100.oelseifdef CONFIG_8xxSRCS += m8xx_pcmcia.cMODULES += m8xx_pcmcia.oelseSRCS += i82365.c tcic.cMODULES += i82365.o tcic.oendifendififdef CONFIG_PCISRCS += pci_fixup.cCORE += pci_fixup.oendififdef CONFIG_PNP_BIOSSRCS += pnp_bios.c pnp_proc.c pnp_rsrc.cCORE += pnp_bios.o pnp_proc.o pnp_rsrc.oendifall: $(MODULES)pcmcia_core.o: $(CORE) $(LD) -r -o $@ $(CORE) chmod -x $@install: install-modulesinclude ../rules.mkendifclean: rm -f core core.* *.o .*.o *.s *.a *~ .depend .depfiles/*.d
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -