summaryrefslogtreecommitdiffstats
path: root/src/suffix-rules.mk
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-03-14 22:09:22 +0100
committerDamjan Marion <damarion@cisco.com>2018-03-15 02:09:05 +0100
commit92b44ea50a21b878b35f081bfc90c06b799c0c03 (patch)
treec674c282527dcdad6587128ac966410e313f7063 /src/suffix-rules.mk
parent1fcbd728095b4fbb3e1b4a757f3bc3f19ba879c7 (diff)
use system provided ccache links
Change-Id: I0860bbd0cf368fc3638b861504ebf642ee9d3807 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/suffix-rules.mk')
-rw-r--r--src/suffix-rules.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/suffix-rules.mk b/src/suffix-rules.mk
index 1e701651822..8b1ab83b28b 100644
--- a/src/suffix-rules.mk
+++ b/src/suffix-rules.mk
@@ -14,13 +14,13 @@
# Shared suffix rules
# Please do not set "SUFFIXES = .api.h .api" here
-VPPAPIGEN = vppapigen
+VPPAPIGEN = $(top_srcdir)/tools/vppapigen/vppapigen
%.api.h: %.api
- @echo " APIGEN " $@ ; \
- mkdir -p `dirname $@` ; \
+ @echo " APIGEN " $@ ; \
+ mkdir -p `dirname $@` ; \
$(VPPAPIGEN) --includedir $(top_srcdir) --input $< --output $@
-%.api.json: %.api
- @echo " JSON API" $@ ; \
- mkdir -p `dirname $@` ; \
+%.api.json: %.api
+ @echo " JSON API" $@ ; \
+ mkdir -p `dirname $@` ; \
$(VPPAPIGEN) --includedir $(top_srcdir) --input $< JSON --output $@