Makefile
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:1k
- # Makefile for the eicon ISDN device driver
- # The target object and module list name.
- O_TARGET := vmlinux-obj.o
- # Objects that export symbols.
- export-objs := Divas_mod.o eicon_mod.o
- # Multipart objects.
- list-multi := eicon.o divas.o
- eicon-objs := eicon_mod.o eicon_isa.o eicon_pci.o eicon_idi.o
- eicon_io.o
- divas-objs := common.o idi.o bri.o pri.o log.o xlog.o kprintf.o fpga.o
- fourbri.o lincfg.o linchr.o linsys.o linio.o Divas_mod.o
- # Optional parts of multipart objects.
- eicon-objs-$(CONFIG_ISDN_DRV_EICON_PCI) += common.o idi.o bri.o pri.o log.o
- xlog.o kprintf.o fpga.o fourbri.o lincfg.o linchr.o
- linsys.o linio.o
- eicon-objs += $(eicon-objs-y)
- # Each configuration option enables a list of files.
- obj-$(CONFIG_ISDN_DRV_EICON_OLD) += eicon.o
- obj-$(CONFIG_ISDN_DRV_EICON_DIVAS) += divas.o
- include $(TOPDIR)/Rules.make
- # Link rules for multi-part drivers.
- eicon.o: $(eicon-objs)
- $(LD) -r -o $@ $(eicon-objs)
- divas.o: $(divas-objs)
- $(LD) -r -o $@ $(divas-objs)