use local yangmodels/openconfig (if present) instead of github

This commit is contained in:
Olof hagsand 2023-09-29 22:06:18 +02:00
parent 794a17c2bb
commit 06d8e85290
9 changed files with 58 additions and 39 deletions

View file

@ -66,12 +66,18 @@ clixon:
git clone file://$(realpath ${top_srcdir})
clean:
rm -rf clixon # clone of top-srcdir
rm -rf clixon yang openconfig
distclean: clean
rm -f Makefile *~ .depend
docker: clixon $(DOCKERFILE)
yang:
./getyang.sh
openconfig:
./getopenconfig.sh
docker: clixon yang openconfig $(DOCKERFILE)
sudo docker build -f $(DOCKERFILE) -t $(IMG) $(DOCKERFLAGS) .
push: