From 12e18755579acff969b032b67dba3a53d6708f40 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 11 May 2014 23:55:16 +0200 Subject: 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 --git a/scripts/functions b/scripts/functions index 2e3878b..b15601a 100644 --- a/scripts/functions +++ b/scripts/functions @@ -1154,6 +1154,18 @@ CT_DoBuildTargetTuple() { ;; 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}" -- cgit v0.10.2-6-g49f6