[libosmocore PATCH 03/12] build: use the standard AM_V_GEN definition for output.

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Diego Elio Pettenò flameeyes at flameeyes.eu
Fri Jun 29 20:01:20 UTC 2012


This actually allows for the command to be printed if using `make V=1`

Signed-off-by: Diego Elio Pettenò <flameeyes at flameeyes.eu>
---
 include/Makefile.am |    3 +--
 src/Makefile.am     |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/include/Makefile.am b/include/Makefile.am
index 1eae2dd..dec8eac 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -100,5 +100,4 @@ noinst_HEADERS = osmocom/core/timer_compat.h
 
 osmocom/core/crc%gen.h: osmocom/core/crcXXgen.h.tpl
 	$(AM_V_GEN)$(MKDIR_P) $(notdir $@)
-	@echo "  SED    $< -> $@"
-	@sed -e's/XX/$*/g' $< > $@
+	$(AM_V_GEN)sed -e's/XX/$*/g' $< > $@
diff --git a/src/Makefile.am b/src/Makefile.am
index b79c8b7..36f95ee 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -39,5 +39,4 @@ libosmocore_la_SOURCES += serial.c
 endif
 
 crc%gen.c: crcXXgen.c.tpl
-	@echo "  SED    $< -> $@"
-	@sed -e's/XX/$*/g' $< > $@
+	$(AM_V_GEN)sed -e's/XX/$*/g' $< > $@
-- 
1.7.8.6





More information about the OpenBSC mailing list