summaryrefslogtreecommitdiffstats
path: root/meta/classes/webos_public_repo.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/webos_public_repo.bbclass')
-rw-r--r--meta/classes/webos_public_repo.bbclass19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/classes/webos_public_repo.bbclass b/meta/classes/webos_public_repo.bbclass
new file mode 100644
index 0000000000..1cd3597fad
--- /dev/null
+++ b/meta/classes/webos_public_repo.bbclass
@@ -0,0 +1,19 @@
+# Copyright (c) 2012-2018 LG Electronics, Inc.
+#
+# webos_public_repo
+#
+# This class is to be inherited by the recipe for every component that has (or
+# will have) a public webOS OSE repo.
+#
+
+# The default repo name is the "base" component name (no -native, etc.)
+WEBOS_REPO_NAME ??= "${BPN}"
+
+WEBOS_GIT_PARAM_BRANCH ?= "master"
+WEBOS_GIT_BRANCH ?= ";branch=${WEBOS_GIT_PARAM_BRANCH}"
+# Default is empty but webos_enhanced_submissions.bbclass will always set the value
+WEBOS_GIT_PARAM_TAG ?= ""
+WEBOS_GIT_TAG ?= ";tag=${WEBOS_GIT_PARAM_TAG}"
+
+WEBOSOSE_GIT_REPO ?= "git://github.com/webosose"
+WEBOSOSE_GIT_REPO_COMPLETE ?= "${WEBOSOSE_GIT_REPO}/${WEBOS_REPO_NAME}${WEBOS_GIT_TAG}${WEBOS_GIT_BRANCH}"