diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-03 14:47:03 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-10 13:05:46 -0500 |
commit | 053dd92e8a79fa9c721c8abde722810319eb1925 (patch) | |
tree | 8ed04f35f0111cafd43fc2cbfdee5a6d365a2f17 | |
parent | 55d9c04bc3418ae7bd49a8f66a070f0a4c466c69 (diff) |
We also need TARGET_<arechname> in Makefiles
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
-rwxr-xr-x | configure | 2 | ||||
-rwxr-xr-x | create_config | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1982,6 +1982,8 @@ case "$target_arch2" in ;; esac echo "TARGET_ARCH=$TARGET_ARCH" >> $config_mak +target_arch_name="`echo $TARGET_ARCH | tr '[:lower:]' '[:upper:]'`" +echo "TARGET_$target_arch_name=y" >> $config_mak echo "TARGET_ARCH2=$target_arch2" >> $config_mak # TARGET_BASE_ARCH needs to be defined after TARGET_ARCH if [ "$TARGET_BASE_ARCH" = "" ]; then diff --git a/create_config b/create_config index 9dcbc5f094..5bc8fb6b41 100755 --- a/create_config +++ b/create_config @@ -55,9 +55,7 @@ case $line in ;; TARGET_ARCH=*) # configuration target_arch=${line#*=} - arch_name=`echo $target_arch | tr '[:lower:]' '[:upper:]'` echo "#define TARGET_ARCH \"$target_arch\"" - echo "#define TARGET_$arch_name 1" ;; TARGET_BASE_ARCH=*) # configuration target_base_arch=${line#*=} |