# HG changeset patch # User "Yann E. MORIN" # Date 1399845316 -7200 # Node ID 8a753e6c5621e3a87dd9f2a1a94e75f5853d9fa6 # Parent 78af1c99bc6d438e1e8e07dd00624a592f3de925 scripts/functions: introduce target_bits_32 and target_bits_64 variables These variables behave the same for bitness as their counterparts do for endianness: they are defined to the appropriate bitness. Signed-off-by: "Yann E. MORIN" Cc: Cody P Schafer diff -r 78af1c99bc6d -r 8a753e6c5621 scripts/functions --- a/scripts/functions Sun May 11 23:43:52 2014 +0200 +++ b/scripts/functions Sun May 11 23:55:16 2014 +0200 @@ -1154,6 +1154,18 @@ ;; esac + # Set the bitness suffix + case "${CT_ARCH_BITNESS}" in + 32) + target_bits_32=32 + target_bits_64= + ;; + 64) + target_bits_32= + target_bits_64=64 + ;; + esac + # Build the default architecture tuple part CT_TARGET_ARCH="${CT_ARCH}${CT_ARCH_SUFFIX}"