Fixing yang_library macro.
Change-Id: I31c2faf3f66d8e24fb93c2760d6cc6985625fd41
diff --git a/bucklets/yang.bucklet b/bucklets/yang.bucklet
index 797d520..9b27589 100644
--- a/bucklets/yang.bucklet
+++ b/bucklets/yang.bucklet
@@ -32,7 +32,7 @@
yang_library(
name = yang,
- srcs = glob(['src/**/*.yang']),
+ srcs = glob(['**/*.yang']),
)
genrule(
@@ -50,7 +50,7 @@
)
osgi_jar(
- name = 'onos-models-demo',
+ name = name,
srcs = [ ':' + yangSrcs, ':' + registrator ],
deps = deps + YANG_TOOLS,
resources = [ ':' + schema ],