aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2016-03-16 16:56:20 +0000
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2016-03-17 14:01:52 +0000
commitb9182e913e18f538c633c6a251149471f1418bbd (patch)
tree84a4a04aae4a6db5cad71e701f444a9c205de592 /recipes-bsp
parentfc5b42e128b220582a0aaa8b48108dcb53dc22c7 (diff)
downloadmeta-qcom-b9182e913e18f538c633c6a251149471f1418bbd.tar.gz
meta-qcom-b9182e913e18f538c633c6a251149471f1418bbd.tar.bz2
meta-qcom-b9182e913e18f538c633c6a251149471f1418bbd.zip
qcom eula: EULA variable were changed to match expectations from OE RPB
OE RPB setup scripts have a generic EULA implementation that can be used with any BSP layer. This implementation is making a few assumptions: * the BSP layer requires EULA is conf/eula/$MACHINE exists * the user has accepted the EULA if ACCEPT_EULA_$MACHINE is set to 1 This commit implements these changes. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/firmware/firmware-qcom-dragonboard410c_1.2.0.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-bsp/firmware/firmware-qcom-dragonboard410c_1.2.0.bb b/recipes-bsp/firmware/firmware-qcom-dragonboard410c_1.2.0.bb
index 4e796e7..3bc419a 100644
--- a/recipes-bsp/firmware/firmware-qcom-dragonboard410c_1.2.0.bb
+++ b/recipes-bsp/firmware/firmware-qcom-dragonboard410c_1.2.0.bb
@@ -46,13 +46,13 @@ python qcom_bin_do_unpack() {
}
python do_unpack() {
- eula = d.getVar('ACCEPT_QCOM_EULA', True)
+ eula = d.getVar('ACCEPT_EULA_dragonboard-410c', True)
eula_file = d.getVar('QCOM_EULA_FILE', True)
pkg = d.getVar('PN', True)
if eula == None:
bb.fatal("To use '%s' you need to accept the EULA at '%s'. "
"Please read it and in case you accept it, write: "
- "ACCEPT_QCOM_EULA = \"1\" in your local.conf." % (pkg, eula_file))
+ "ACCEPT_EULA_dragonboard-410c = \"1\" in your local.conf." % (pkg, eula_file))
elif eula == '0':
bb.fatal("To use '%s' you need to accept the EULA." % pkg)
else: