summaryrefslogtreecommitdiff
path: root/recipes-kernel/rs9113/rs9113.inc
diff options
context:
space:
mode:
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)