[xtensa-cvscommit] linux/arch/xtensa Makefile,1.7,1.8
Brought to you by:
zankel
|
From: <ma...@us...> - 2003-01-30 23:46:36
|
Update of /cvsroot/xtensa/linux/arch/xtensa
In directory sc8-pr-cvs1:/tmp/cvs-serv27842
Modified Files:
Makefile
Log Message:
Make Xtensa arch Makefile default to correct tools rather than linux_be.
Index: Makefile
===================================================================
RCS file: /cvsroot/xtensa/linux/arch/xtensa/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Makefile 20 Jan 2003 23:22:08 -0000 1.7
--- Makefile 30 Jan 2003 23:46:32 -0000 1.8
***************
*** 4,8 ****
# for more details.
#
! # Copyright (C) 2001 Tensilica Inc.
#
# This file is included by the global makefile so that you can add your own
--- 4,8 ----
# for more details.
#
! # Copyright (C) 2001 - 2003 Tensilica Inc.
#
# This file is included by the global makefile so that you can add your own
***************
*** 12,26 ****
#
- # test for cross compiling
- COMPILE_ARCH = $(shell uname -m)
-
- ifneq ($(COMPILE_ARCH), $(ARCH))
- ifndef CROSS_COMPILE
- CROSS_COMPILE = xtensa_linux_be-
- endif
- # xcc prefix
- # CROSS_COMPILE = xt-
- endif
-
#
# Choosing incompatible machines durings configuration will result in
--- 12,15 ----
***************
*** 69,72 ****
--- 58,72 ----
endif
+ # test for cross compiling
+ COMPILE_ARCH = $(shell uname -m)
+
+ ifneq ($(COMPILE_ARCH), $(ARCH))
+ ifndef CROSS_COMPILE
+ CROSS_COMPILE = xtensa_$(XTENSA_CONFIG)-
+ endif
+ # xcc prefix
+ # CROSS_COMPILE = xt-
+ endif
+
export CFLAGS
***************
*** 81,85 ****
! # Use the compile-time HAL to identify endianess.
PCONF := include/asm-$(ARCH)/xtensa/config-$(XTENSA_CONFIG)
CORE_H := $(PCONF)/core.h
--- 81,85 ----
! # Use the compile-time HAL to identify endianness.
PCONF := include/asm-$(ARCH)/xtensa/config-$(XTENSA_CONFIG)
CORE_H := $(PCONF)/core.h
***************
*** 96,100 ****
export XTENSA_BIG_ENDIAN
! # Use the compiler to identify endianess and verify XTENSA_{BIG,LITTLE}_ENDIAN
ifndef IGNORE_ENDIANESS
CC_ENDIAN_STRING := $(shell echo 'main(){}' | $(CC) -E -dM -xc - | grep __XTENSA_EB__)
--- 96,100 ----
export XTENSA_BIG_ENDIAN
! # Use the compiler to identify endianness and verify XTENSA_{BIG,LITTLE}_ENDIAN
ifndef IGNORE_ENDIANESS
CC_ENDIAN_STRING := $(shell echo 'main(){}' | $(CC) -E -dM -xc - | grep __XTENSA_EB__)
|