Skip to content

Commit

Permalink
Updated Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dutta-partha committed Oct 1, 2019
1 parent e1d4cf7 commit 3fba930
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cvl/schema/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ schema: $(out) $(out_common)

schema-tree: $(out_tree)

#Build YANG models
%.yin:$(sonic_yang)/%.yang
@echo "Generating `basename $@` ..."
@devFile="`echo $@ | cut -d . -f1`-deviation.yang"; \
if [ -f $$devFile ] ; then devOpt="--deviation-module $$devFile"; fi; \
pyang -p $(search_path) --plugindir $(pyang_plugin_dir) \
-f yin-cvl $$devOpt $< -o `basename $@`

#Build common YANG models
%.yin:$(sonic_yang_common)/%.yang
@echo "Generating `basename $@` ..."
@devFile="`echo $@ | cut -d . -f1`-deviation.yang"; \
Expand Down

0 comments on commit 3fba930

Please sign in to comment.