|
From: <jlj...@us...> - 2012-04-02 00:22:38
|
Revision: 2514
http://edk2-buildtools.svn.sourceforge.net/edk2-buildtools/?rev=2514&view=rev
Author: jljusten
Date: 2012-04-02 00:22:32 +0000 (Mon, 02 Apr 2012)
Log Message:
-----------
BaseTools/Source/C/GNUmakefile: Detect i*86 as IA32
This change allows i486 & i586 results from 'uname -m'
to be detected as IA32.
Signed-off-by: Jordan Justen <jor...@in...>
Reviewed-by: Erik Bjorge <eri...@in...>
Modified Paths:
--------------
trunk/BaseTools/Source/C/GNUmakefile
Modified: trunk/BaseTools/Source/C/GNUmakefile
===================================================================
--- trunk/BaseTools/Source/C/GNUmakefile 2012-04-02 00:22:14 UTC (rev 2513)
+++ trunk/BaseTools/Source/C/GNUmakefile 2012-04-02 00:22:32 UTC (rev 2514)
@@ -1,7 +1,7 @@
## @file
# GNU Make makefile for C tools build.
#
-# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2007 - 2012, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -22,12 +22,9 @@
ifeq ($(uname_m),x86_64)
ARCH=X64
endif
- ifeq ($(uname_m),i386)
+ ifeq ($(patsubst i%86,IA32,$(uname_m)),IA32)
ARCH=IA32
endif
- ifeq ($(uname_m),i686)
- ARCH=IA32
- endif
ifndef ARCH
$(info Could not detected ARCH from uname results)
$(error ARCH is not defined!)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|