diff options
author | Michael Brown | 2005-05-03 13:51:19 +0200 |
---|---|---|
committer | Michael Brown | 2005-05-03 13:51:19 +0200 |
commit | 0174310f38fc4d98d02068571733ae57bc9d6901 (patch) | |
tree | 18e1fc441d5a627e9be30f0f54cfcbbfcf9ca0fc /src/Makefile.housekeeping | |
parent | Symbol fixups (diff) | |
download | ipxe-0174310f38fc4d98d02068571733ae57bc9d6901.tar.gz ipxe-0174310f38fc4d98d02068571733ae57bc9d6901.tar.xz ipxe-0174310f38fc4d98d02068571733ae57bc9d6901.zip |
Re-add the "etherboot.%" all-drivers image.
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r-- | src/Makefile.housekeeping | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 00d1c525..1f06d698 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -167,11 +167,15 @@ CLEANUP += $(BIN)/NIC # TGT_ROM_NAME : the ROM name (e.g. "dfe538") # TGT_MEDIA : the media type (e.g. "rom") # +DRIVERS_etherboot = $(DRIVERS) +CARD_DRIVER = $(firstword $(DRIVER_$(1)) $(1)) TGT_ELEMENTS = $(subst --, ,$(firstword $(subst ., ,$(notdir $@)))) TGT_PREFIX = $(word 2,$(subst ., ,$(notdir $@))) -TGT_DRIVERS = $(strip $(foreach TGT_ELEMENT,$(TGT_ELEMENTS), \ - $(firstword $(DRIVER_$(TGT_ELEMENT)) $(TGT_ELEMENT)))) TGT_ROM_NAME = $(firstword $(TGT_ELEMENTS)) +TGT_DRIVERS = $(strip $(if $(DRIVERS_$(TGT_ROM_NAME)), \ + $(DRIVERS_$(TGT_ROM_NAME)), \ + $(foreach TGT_ELEMENT,$(TGT_ELEMENTS), \ + $(call CARD_DRIVER,$(TGT_ELEMENT))) )) TGT_MEDIA = $(subst z,,$(TGT_PREFIX)) # Look up ROM type and IDs for the current target |