brintos

brintos / linux-shallow public Read only

0
0
Text · 697 B · a1dd0ea Raw
23 lines · plain
1# SPDX-License-Identifier: GPL-2.02# Makefile for the Linux device tree3 4obj-$(CONFIG_EISA)	        += eisa-bus.o5obj-${CONFIG_EISA_PCI_EISA}     += pci_eisa.o6 7# virtual_root.o should be the last EISA root device to initialize,8# so leave it at the end of the list.9obj-${CONFIG_EISA_VIRTUAL_ROOT} += virtual_root.o10 11 12# Ugly hack to get DEVICE_NAME_SIZE value...13DEVICE_NAME_SIZE = 5014 15$(obj)/eisa-bus.o: $(obj)/devlist.h16 17quiet_cmd_eisaid = GEN     $@18      cmd_eisaid = sed -e '/^\#/D' -e 's/^\([[:alnum:]]\{7\}\) \+"\([^"]\{1,$(DEVICE_NAME_SIZE)\}\).*"/EISA_DEVINFO ("\1", "\2"),/' $< > $@19 20clean-files := devlist.h21$(obj)/devlist.h: $(src)/eisa.ids include/linux/device.h22	$(call cmd,eisaid)23