diff options
Diffstat (limited to 'recipes-kernel/rs9113/rs9113.inc')
-rw-r--r-- | recipes-kernel/rs9113/rs9113.inc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/recipes-kernel/rs9113/rs9113.inc b/recipes-kernel/rs9113/rs9113.inc index 891bc9c..2774b76 100644 --- a/recipes-kernel/rs9113/rs9113.inc +++ b/recipes-kernel/rs9113/rs9113.inc @@ -36,13 +36,9 @@ python do_fetch_prepend () { PV = gitversion PV += "-" try: - PV += d.getVar("MLINUX_KERNEL_VERSION",True) + PV += d.getVar("PR",True) except TypeError: - bb.fatal("MLINUX_KERNEL_VERSION missing from conf/local.conf, usually put there by setup.sh") - try: - PV += d.getVar("MLINUX_KERNEL_EXTRA_VERSION",True) - except TypeError: - bb.fatal("MLINUX_KERNEL_EXTRA_VERSION missing from conf/local.conf, usually put there by setup.sh") + bb.fatal("PR is missing from recipe") bb.note("PV is " + PV) @@ -87,4 +83,3 @@ python do_cleanall_prepend () { bb.note("About to delete " + DR) os.system("/bin/rm -rf " + DR) } - |