mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 00:49:33 +02:00
Using TRANSLATED_TARGET_ARCH instead of TARGET_ARCH.
Using TRANSLATED_TARGET_ARCH instead of TARGET_ARCH for cross-canadian packages. This is due to the TARGET_ARCH of x86_64 would results incorrect packaging in cross-canadian packages. The pacakge name appendix of x86_64 target in cross-canadian packages is x86-64. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
This commit is contained in:
committed by
Richard Purdie
parent
322d6ab299
commit
2021e2a74f
@@ -2,7 +2,7 @@ inherit cross-canadian
|
||||
|
||||
|
||||
DESCRIPTION = "A GNU collection of cross-canadian binary utilities for ${TARGET_ARCH} target"
|
||||
PN = "binutils-cross-canadian-${TARGET_ARCH}"
|
||||
PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}"
|
||||
BPN = "binutils"
|
||||
|
||||
DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
inherit cross-canadian
|
||||
|
||||
DESCRIPTION = "The cross-canadian GNU cc and gcc C compilers for ${TARGET_ARCH} target."
|
||||
PN = "gcc-cross-canadian-${TARGET_ARCH}"
|
||||
PN = "gcc-cross-canadian-${TRANSLATED_TARGET_ARCH}"
|
||||
BPN = "gcc"
|
||||
|
||||
DEPENDS = "virtual/${HOST_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc gettext-nativesdk"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
inherit cross-canadian
|
||||
|
||||
DESCRIPTION = "cross-canadian gdb for ${TARGET_ARCH} target - GNU debugger"
|
||||
PN = "gdb-cross-canadian-${TARGET_ARCH}"
|
||||
PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
|
||||
BPN = "gdb"
|
||||
|
||||
DEPENDS = "ncurses-nativesdk expat-nativesdk gettext-nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user