summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-10-17 10:59:55 -0700
committerAustin Foxley <austinf@cetoncorp.com>2009-10-17 10:59:55 -0700
commit997d8efec66ff513e8efa774c74df13116641e03 (patch)
tree4036a3d22c6e12e55ce2c31c8ffe005bb237dfa6
parentfe4d33b3d9aaff25b512e64af3e4b44a995fe73c (diff)
Makerules: add a do_sed command
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
-rw-r--r--Makerules5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index e449dae1d..4cc3e5813 100644
--- a/Makerules
+++ b/Makerules
@@ -223,6 +223,11 @@ define do_awk
$(Q)$(AWK) -f
endef
+define do_sed
+ @$(disp_gen)
+ $(Q)$(SED)
+endef
+
compile.c = @$(call maybe_exec,compile.c)
compile.i = $(call maybe_exec,compile.i)
compile.s = $(call maybe_exec,compile.s)