aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-virtualization/hv-cfg/hv-cfg_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-virtualization/hv-cfg/hv-cfg_git.bb')
-rw-r--r--recipes-virtualization/hv-cfg/hv-cfg_git.bb7
1 files changed, 2 insertions, 5 deletions
diff --git a/recipes-virtualization/hv-cfg/hv-cfg_git.bb b/recipes-virtualization/hv-cfg/hv-cfg_git.bb
index 57cba44a..4f147d2d 100644
--- a/recipes-virtualization/hv-cfg/hv-cfg_git.bb
+++ b/recipes-virtualization/hv-cfg/hv-cfg_git.bb
@@ -23,11 +23,8 @@ SRCREV = "348748b2ce26258509997b19fead0dd7bba4dea4"
S = "${WORKDIR}/git"
-python () {
- if not d.getVar("HV_CFG_M", True):
- raise bb.parse.SkipPackage("HV_CFG_M is not defined, please \
-check ${MACHINE}.conf file.")
-}
+HV_CFG_M ?= "${@d.getVar('MACHINE', True).replace('-64b','')}"
+HV_CFG_M_t1042 = "t1040rdb"
do_install () {
make install