diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-12-03 22:38:31 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-12-06 20:58:56 +0100 |
commit | 6f42d44586fbed3f5addfe81fa5d6b4ab40f2dbf (patch) | |
tree | 0f377326b3887b2353935217cc4ad5eb860927e0 | |
parent | 2d96dbe667de57bc90eb4dc826cce3ed19e94823 (diff) | |
download | vyos-1x-6f42d44586fbed3f5addfe81fa5d6b4ab40f2dbf.tar.gz vyos-1x-6f42d44586fbed3f5addfe81fa5d6b4ab40f2dbf.zip |
T1843: add support for recursive includes
An XML include file can now inlude another XML include file. This is very handy
on e.g. VIF or VIF-S interfaces that also have an address node. Thus more code
is reused and simplified.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ obj = $(src:.xml.in=.xml) # -nostdinc Do not search the standard system directories for header files # -P Inhibit generation of linemarkers in the output from the # preprocessor - @gcc -ansi -x c -E -undef -nostdinc -P -o $(BUILD_DIR)/$@ -c $< + @$(CC) -ansi -x c -E -undef -nostdinc -P -I$(CURDIR)/interface-definitions -o $(BUILD_DIR)/$@ -c $< $(BUILD_DIR): install -d -m 0755 $(BUILD_DIR)/interface-definitions |