|
@@ -915,6 +915,8 @@ BOBJS += $(patsubst %,$(BIN)/%.ids.o,$(DRIVERS))
|
915
|
915
|
#
|
916
|
916
|
bobjs :
|
917
|
917
|
@$(ECHO) $(BOBJS)
|
|
918
|
+drivers_% :
|
|
919
|
+ @$(ECHO) $(DRIVERS_$*)
|
918
|
920
|
drivers :
|
919
|
921
|
@$(ECHO) $(DRIVERS)
|
920
|
922
|
.PHONY : drivers
|
|
@@ -945,6 +947,12 @@ $(BIN)/NIC : $(AUTO_DEPS)
|
945
|
947
|
@perl -ne 'chomp; print "$$1\n" if /\# NIC\t(.*)$$/' $^ >> $@
|
946
|
948
|
CLEANUP += $(BIN)/NIC # Doesn't match the $(BIN)/*.* pattern
|
947
|
949
|
|
|
950
|
+# Select drivers to be included in the all-drivers build
|
|
951
|
+#
|
|
952
|
+DRIVERS = $(DRIVERS_net) $(DRIVERS_infiniband) \
|
|
953
|
+ $(DRIVERS_xen) $(DRIVERS_hyperv)
|
|
954
|
+DRIVERS_ipxe = $(DRIVERS)
|
|
955
|
+
|
948
|
956
|
# Analyse a target name (e.g. "bin/dfe538--prism2_pci.rom.tmp") and
|
949
|
957
|
# derive the variables:
|
950
|
958
|
#
|
|
@@ -953,7 +961,6 @@ CLEANUP += $(BIN)/NIC # Doesn't match the $(BIN)/*.* pattern
|
953
|
961
|
# TGT_DRIVERS : the driver for each element (e.g. "rtl8139 prism2_pci")
|
954
|
962
|
# TGT_ROM_NAME : the ROM name (e.g. "dfe538")
|
955
|
963
|
#
|
956
|
|
-DRIVERS_ipxe = $(DRIVERS)
|
957
|
964
|
CARD_DRIVER = $(firstword $(DRIVER_$(1)) $(1))
|
958
|
965
|
TGT_ELEMENTS = $(subst --, ,$(firstword $(subst ., ,$(notdir $@))))
|
959
|
966
|
TGT_ROM_NAME = $(firstword $(TGT_ELEMENTS))
|