diff options
author | Lianhao Lu <lianhao.lu@intel.com> | 2011-01-28 09:41:32 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-28 17:00:59 +0000 |
commit | e8dfc44a0c608fbea8458946a5c38677f2034cae (patch) | |
tree | 6e305c2f9aaaf2ffa6c38fdf830b1b2c8f032ae5 /meta | |
parent | 673f7abde281298ffe9325251f508632fcfccbf5 (diff) | |
download | openembedded-core-e8dfc44a0c608fbea8458946a5c38677f2034cae.tar.gz openembedded-core-e8dfc44a0c608fbea8458946a5c38677f2034cae.tar.bz2 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.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index 993f831a54..1a045ba16d 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}" |