OSDN Git Service

Makerules: add a do_sed command
authorAustin Foxley <austinf@cetoncorp.com>
Sat, 17 Oct 2009 17:59:55 +0000 (10:59 -0700)
committerAustin Foxley <austinf@cetoncorp.com>
Sat, 17 Oct 2009 17:59:55 +0000 (10:59 -0700)
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Makerules

index e449dae..4cc3e58 100644 (file)
--- 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)