summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2011-01-28 09:41:32 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-28 17:00:59 +0000
commite8dfc44a0c608fbea8458946a5c38677f2034cae (patch)
tree6e305c2f9aaaf2ffa6c38fdf830b1b2c8f032ae5
parent673f7abde281298ffe9325251f508632fcfccbf5 (diff)
downloadast2050-yocto-poky-e8dfc44a0c608fbea8458946a5c38677f2034cae.zip
ast2050-yocto-poky-e8dfc44a0c608fbea8458946a5c38677f2034cae.tar.gz
cross-canadian.bbclass: Correct deb package arch.
Set DPKG_ARCH to make debian package to be generated with correct architecture. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
-rw-r--r--meta/classes/cross-canadian.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index 993f831..1a045ba 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -43,6 +43,9 @@ HOST_OS = "${SDK_OS}"
HOST_PREFIX = "${SDK_PREFIX}"
HOST_CC_ARCH = "${SDK_CC_ARCH}"
+#assign DPKG_ARCH
+DPKG_ARCH = "${SDK_ARCH}"
+
CPPFLAGS = "${BUILDSDK_CPPFLAGS}"
CFLAGS = "${BUILDSDK_CFLAGS}"
CXXFLAGS = "${BUILDSDK_CFLAGS}"
OpenPOWER on IntegriCloud