PageRenderTime 42ms CodeModel.GetById 36ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/drivers/eisa/Makefile

https://bitbucket.org/ndreys/linux-sunxi
Makefile | 21 lines | 10 code | 7 blank | 4 comment | 0 complexity | 8e93891e215c40465a068451e96d9051 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
 1# Makefile for the Linux device tree
 2
 3obj-$(CONFIG_EISA)	        += eisa-bus.o
 4obj-${CONFIG_EISA_PCI_EISA}     += pci_eisa.o
 5
 6# virtual_root.o should be the last EISA root device to initialize,
 7# so leave it at the end of the list.
 8obj-${CONFIG_EISA_VIRTUAL_ROOT} += virtual_root.o
 9
10
11# Ugly hack to get DEVICE_NAME_SIZE value...
12DEVICE_NAME_SIZE = 50
13
14$(obj)/eisa-bus.o: $(obj)/devlist.h
15
16quiet_cmd_eisaid = GEN     $@
17      cmd_eisaid = sed -e '/^\#/D' -e 's/^\([[:alnum:]]\{7\}\) \+"\([^"]\{1,$(DEVICE_NAME_SIZE)\}\).*"/EISA_DEVINFO ("\1", "\2"),/' $< > $@
18
19clean-files := devlist.h
20$(obj)/devlist.h: $(src)/eisa.ids include/linux/device.h
21	$(call cmd,eisaid)