diff options
Diffstat (limited to 'meta-phosphor/recipes-phosphor/webui/webui-vue_git.bb')
-rw-r--r-- | meta-phosphor/recipes-phosphor/webui/webui-vue_git.bb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/meta-phosphor/recipes-phosphor/webui/webui-vue_git.bb b/meta-phosphor/recipes-phosphor/webui/webui-vue_git.bb index 6986026f5..cd155b7da 100644 --- a/meta-phosphor/recipes-phosphor/webui/webui-vue_git.bb +++ b/meta-phosphor/recipes-phosphor/webui/webui-vue_git.bb @@ -6,10 +6,10 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" SRC_URI = "git://github.com/openbmc/webui-vue.git" -SRCREV = "03dc2b7b9f0672aac84349fbc77aab55403447e0" +SRCREV = "aaff26ef8262df7d6b5bfdd5da52b75a158a4ec5" S = "${WORKDIR}/git" -DEPENDS_prepend = "nodejs-native nlf-native " +DEPENDS:prepend = "nodejs-native nlf-native " # allarch is required because the files this recipe produces (html and # javascript) are valid for any target, regardless of architecture. The allarch @@ -28,13 +28,15 @@ export CFLAGS = "${BUILD_CFLAGS}" export CPPFLAGS = "${BUILD_CPPFLAGS}" export CXXFLAGS = "${BUILD_CXXFLAGS}" -FILES_${PN} += "${datadir}/www/*" +FILES:${PN} += "${datadir}/www/*" + +EXTRA_OENPM ?= "" do_compile () { cd ${S} rm -rf node_modules npm --loglevel info --proxy=${http_proxy} --https-proxy=${https_proxy} install - npm run build + npm run build ${EXTRA_OENPM} } do_install () { |