Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146811
b: refs/heads/master
c: f9e2b97
h: refs/heads/master
i:
  146809: b8964e5
  146807: a06abb0
v: v3
  • Loading branch information
Paul Mundt committed May 26, 2009
1 parent e19b402 commit af8eae2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 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: 5b25ab29bad3114f798b136b4147f255a5d5742f
refs/heads/master: f9e2b97dc2cf832ccceea2a2e6eccc4bc9af72cf
19 changes: 10 additions & 9 deletions trunk/arch/sh/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,23 +82,24 @@ defaultimage-$(CONFIG_SH_7206_SOLUTION_ENGINE) := vmlinux
defaultimage-$(CONFIG_SH_7619_SOLUTION_ENGINE) := vmlinux

# Set some sensible Kbuild defaults
KBUILD_DEFCONFIG := shx3_defconfig
KBUILD_IMAGE := $(defaultimage-y)

#
# Choosing incompatible machines durings configuration will result in
# error messages during linking.
#
ifdef CONFIG_SUPERH32
UTS_MACHINE := sh
BITS := 32
LDFLAGS_vmlinux += -e _stext
UTS_MACHINE := sh
BITS := 32
LDFLAGS_vmlinux += -e _stext
KBUILD_DEFCONFIG := shx3_defconfig
else
UTS_MACHINE := sh64
BITS := 64
LDFLAGS_vmlinux += --defsym phys_stext=_stext-$(CONFIG_PAGE_OFFSET) \
--defsym phys_stext_shmedia=phys_stext+1 \
-e phys_stext_shmedia
UTS_MACHINE := sh64
BITS := 64
LDFLAGS_vmlinux += --defsym phys_stext=_stext-$(CONFIG_PAGE_OFFSET) \
--defsym phys_stext_shmedia=phys_stext+1 \
-e phys_stext_shmedia
KBUILD_DEFCONFIG := cayman_defconfig
endif

ifneq ($(SUBARCH),$(ARCH))
Expand Down

0 comments on commit af8eae2

Please sign in to comment.