summaryrefslogtreecommitdiff
path: root/net/ipxe/files/patch-Makefile.housekeeping
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipxe/files/patch-Makefile.housekeeping')
-rw-r--r--net/ipxe/files/patch-Makefile.housekeeping15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/ipxe/files/patch-Makefile.housekeeping b/net/ipxe/files/patch-Makefile.housekeeping
new file mode 100644
index 000000000000..a62dbc30691c
--- /dev/null
+++ b/net/ipxe/files/patch-Makefile.housekeeping
@@ -0,0 +1,15 @@
+sed: 1: "s/\.o\s*:/_DEPS +=/": RE error: trailing backslash (\)
+
+cf. PR 229925
+
+--- Makefile.housekeeping.orig 2018-11-23 08:32:22 UTC
++++ Makefile.housekeeping
+@@ -850,7 +850,7 @@ define deps_template_parts
+ @$(MKDIR) -p $(BIN)/deps/$(dir $(1))
+ $(Q)$(CPP) $(CFLAGS) $(CFLAGS_$(2)) $(CFLAGS_$(3)) -DOBJECT=$(3) \
+ -Wno-error -M $(1) -MG -MP | \
+- sed 's/\.o\s*:/_DEPS +=/' > $(BIN)/deps/$(1).d
++ sed 's/\.o[[:blank:]]*:/_DEPS +=/' > $(BIN)/deps/$(1).d
+ endef
+
+ # rules_template : generate rules for a given source file