summaryrefslogtreecommitdiff
path: root/meta
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 /meta
parent673f7abde281298ffe9325251f508632fcfccbf5 (diff)
downloadopenembedded-core-e8dfc44a0c608fbea8458946a5c38677f2034cae.tar.gz
openembedded-core-e8dfc44a0c608fbea8458946a5c38677f2034cae.tar.bz2
openembedded-core-e8dfc44a0c608fbea8458946a5c38677f2034cae.tar.xz
openembedded-core-e8dfc44a0c608fbea8458946a5c38677f2034cae.zip
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>
Diffstat (limited to 'meta')
-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 993f831a5..1a045ba16 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}"