summaryrefslogtreecommitdiff
path: root/recipes-kernel/rs9113/rs9113.inc
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-05-17 18:45:01 -0500
committerJohn Klug <john.klug@multitech.com>2018-05-17 18:45:01 -0500
commit03683f26c87c613a450b936c0d93f96a15ae04fd (patch)
tree686d91490fb0be8edf5b15189916dde990875a58 /recipes-kernel/rs9113/rs9113.inc
parent834424c39da43d183e47d724910a7f2027eed5cd (diff)
downloadmeta-multitech-03683f26c87c613a450b936c0d93f96a15ae04fd.tar.gz
meta-multitech-03683f26c87c613a450b936c0d93f96a15ae04fd.tar.bz2
meta-multitech-03683f26c87c613a450b936c0d93f96a15ae04fd.zip
Make rs9113 more MTR friendly.
Diffstat (limited to 'recipes-kernel/rs9113/rs9113.inc')
-rw-r--r--recipes-kernel/rs9113/rs9113.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-kernel/rs9113/rs9113.inc b/recipes-kernel/rs9113/rs9113.inc
index 2774b76..de80800 100644
--- a/recipes-kernel/rs9113/rs9113.inc
+++ b/recipes-kernel/rs9113/rs9113.inc
@@ -1,4 +1,5 @@
inherit update-rc.d
+PACKAGE_ARCH = "${MACHINE_ARCH}"
DR = "${DL_DIR}/rs9113-ipk"
FILESEXTRAPATHS_append := "${DR}:"
@@ -17,6 +18,8 @@ python do_fetch_prepend () {
DR = d.getVar("DR",True)
bb.note("DR is " + DR)
+ ARCH = d.getVar("PACKAGE_ARCH",True)
+
try:
os.mkdir(DR,0o755)
except OSError:
@@ -42,7 +45,7 @@ python do_fetch_prepend () {
bb.note("PV is " + PV)
- ipkn = "rs9113-from-src_" + PV + ".0_mtcdt.ipk"
+ ipkn = "rs9113-from-src_" + PV + ".0_" + ARCH + ".ipk"
bb.note("ipkname is " + ipkn)
bb.note ("ipk path is " + DR + "/" + ipkn)