summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2019-08-02 12:00:43 +0200
committerMichael Brown2019-08-02 12:00:43 +0200
commitc742c576d0d0fc7f7d49825f5d3c53fd7b597327 (patch)
tree76fbc3b7ad1956b1ea54b112c39ea678b701af01
parent[build] Do not apply WORKAROUND_CFLAGS for host compiler (diff)
downloadipxe-c742c576d0d0fc7f7d49825f5d3c53fd7b597327.tar.gz
ipxe-c742c576d0d0fc7f7d49825f5d3c53fd7b597327.tar.xz
ipxe-c742c576d0d0fc7f7d49825f5d3c53fd7b597327.zip
[build] Move predefined all-drivers build shortcut to Makefile
The (very approximate) split between Makefile.housekeeping and Makefile is that the former provides mechanism and the latter provides policy. Provide a section within Makefile as a home for predefined build shortcuts such as the existing all-drivers build. Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r--src/Makefile9
-rw-r--r--src/Makefile.housekeeping5
2 files changed, 9 insertions, 5 deletions
diff --git a/src/Makefile b/src/Makefile
index d74565d1..284a6569 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -222,6 +222,15 @@ version :
###############################################################################
#
+# Predefined build shortcuts (for e.g. bin/ipxe.iso)
+
+# All drivers (excluding USB)
+#
+DRIVERS_ipxe = $(DRIVERS_net) $(DRIVERS_infiniband) \
+ $(DRIVERS_xen) $(DRIVERS_hyperv)
+
+###############################################################################
+#
# Drag in the bulk of the build system
#
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index 1b175b95..1dd14794 100644
--- a/src/Makefile.housekeeping
+++ b/src/Makefile.housekeeping
@@ -1042,11 +1042,6 @@ $(BIN)/NIC : $(AUTO_DEPS)
@perl -ne 'chomp; print "$$1\n" if /\# NIC\t(.*)$$/' $^ >> $@
CLEANUP += $(BIN)/NIC # Doesn't match the $(BIN)/*.* pattern
-# Select drivers to be included in the all-drivers build
-#
-DRIVERS_ipxe = $(DRIVERS_net) $(DRIVERS_infiniband) \
- $(DRIVERS_xen) $(DRIVERS_hyperv)
-
# Analyse a target name (e.g. "bin/dfe538--prism2_pci.rom.tmp") and
# derive the variables:
#