summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-03-07 21:56:55 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-03-20 12:32:43 +0000
commit9e4c17075c0c881a61190f54bc5aec4e2654d015 (patch)
tree63fbdf61ab2100e03c5392a0dbac9220ba825a04
parent9b22686134d804500f48a2c882bb6c04fa1cc1a6 (diff)
build: generate gsm0503.h to builddir, not srcdir
To ensure that a separate build dir keeps the source dir clean of state, generate the gsm0503.h to the builddir instead of the srcdir. Adjustments for everyone to access the right paths were added in previous patches. Change-Id: Ia773ef5893a2018feb416061aefcf51835df18d2
-rw-r--r--include/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index f8b1f8f3..7d0b384c 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -151,6 +151,6 @@ osmocom/core/crc%gen.h: osmocom/core/crcXXgen.h.tpl
osmocom/gsm/gsm0503.h:
$(AM_V_GEN)python2 $(top_srcdir)/utils/conv_gen.py gen_header gsm \
- --target-path $(top_srcdir)/include/osmocom/gsm/
+ --target-path $(builddir)/osmocom/gsm
CLEANFILES = osmocom/gsm/gsm0503.h