Browse Source

Makerules: add a do_sed command

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley 14 years ago
parent
commit
997d8efec6
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Makerules

+ 5 - 0
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)