| 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | # Makefile for the Linux device tree |
| 3 | |
| 4 | always-$(CONFIG_EISA) += devlist.h |
| 5 | obj-$(CONFIG_EISA) += eisa-bus.o |
| 6 | obj-${CONFIG_EISA_PCI_EISA} += pci_eisa.o |
| 7 | |
| 8 | # virtual_root.o should be the last EISA root device to initialize, |
| 9 | # so leave it at the end of the list. |
| 10 | obj-${CONFIG_EISA_VIRTUAL_ROOT} += virtual_root.o |
| 11 | |
| 12 | |
| 13 | : |
| 14 | |
| 15 | quiet_cmd_eisaid = GEN $@ |
| 16 | cmd_eisaid = sed -e '/^\#/D' -e 's/^\([[:alnum:]]\{7\}\) \+"\([^"]*\)"/EISA_DEVINFO ("\1", "\2"),/' $< > $@ |
| 17 | |
| 18 | clean-files := devlist.h |
| 19 | : |
| 20 |