Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332326
b: refs/heads/master
c: 70cefe7
h: refs/heads/master
v: v3
  • Loading branch information
Geert Uytterhoeven authored and Chris Zankel committed Oct 4, 2012
1 parent 7e83d91 commit b7aa76f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9ad79b58510b2845e5ffa77654596d7184a827ab
refs/heads/master: 70cefe765433529fc894fd1995a1d5883cb33e05
24 changes: 12 additions & 12 deletions trunk/arch/xtensa/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@ variant-$(CONFIG_XTENSA_VARIANT_LINUX_CUSTOM) := custom
VARIANT = $(variant-y)
export VARIANT

# Test for cross compiling

ifneq ($(VARIANT),)
COMPILE_ARCH = $(shell uname -m)

ifneq ($(COMPILE_ARCH), xtensa)
ifndef CROSS_COMPILE
CROSS_COMPILE = xtensa_$(VARIANT)-
endif
endif
endif

# Platform configuration

platform-$(CONFIG_XTENSA_PLATFORM_XT2000) := xt2000
Expand Down Expand Up @@ -48,18 +60,6 @@ endif

KBUILD_DEFCONFIG := iss_defconfig

# Test for cross compiling

ifneq ($(VARIANT),)
COMPILE_ARCH = $(shell uname -m)

ifneq ($(COMPILE_ARCH), xtensa)
ifndef CROSS_COMPILE
CROSS_COMPILE = xtensa_$(VARIANT)-
endif
endif
endif

# Only build variant and/or platform if it includes a Makefile

buildvar := $(shell test -e $(srctree)/arch/xtensa/variants/$(VARIANT)/Makefile && echo arch/xtensa/variants/$(VARIANT)/)
Expand Down

0 comments on commit b7aa76f

Please sign in to comment.