From e8dfc44a0c608fbea8458946a5c38677f2034cae Mon Sep 17 00:00:00 2001 From: Lianhao Lu Date: Fri, 28 Jan 2011 09:41:32 +0800 Subject: 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 --- meta/classes/cross-canadian.bbclass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta') 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}" -- cgit v1.2.3