Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 # Makefile for the Linux device tree
0003 
0004 obj-$(CONFIG_EISA)              += eisa-bus.o
0005 obj-${CONFIG_EISA_PCI_EISA}     += pci_eisa.o
0006 
0007 # virtual_root.o should be the last EISA root device to initialize,
0008 # so leave it at the end of the list.
0009 obj-${CONFIG_EISA_VIRTUAL_ROOT} += virtual_root.o
0010 
0011 
0012 # Ugly hack to get DEVICE_NAME_SIZE value...
0013 DEVICE_NAME_SIZE = 50
0014 
0015 $(obj)/eisa-bus.o: $(obj)/devlist.h
0016 
0017 quiet_cmd_eisaid = GEN     $@
0018       cmd_eisaid = sed -e '/^\#/D' -e 's/^\([[:alnum:]]\{7\}\) \+"\([^"]\{1,$(DEVICE_NAME_SIZE)\}\).*"/EISA_DEVINFO ("\1", "\2"),/' $< > $@
0019 
0020 clean-files := devlist.h
0021 $(obj)/devlist.h: $(src)/eisa.ids include/linux/device.h
0022         $(call cmd,eisaid)