mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 14:46:31 +00:00
toolchain: sh64 fixes
- arch/sh and arch/sh64 got merged in 2.6.25, so use arch/sh for sh64 as well - use little endian for sh64, like for 32bit sh sh64 still doesn't build, but gets further along now.
This commit is contained in:
parent
8e583fd0f7
commit
35dc4cd628
@ -20,8 +20,7 @@ KERNEL_ARCH:=$(shell $(SHELL) -c "echo \"$(ARCH)\" | sed -e \"s/-.*//\" \
|
|||||||
-e s/parisc64/parisc/ \
|
-e s/parisc64/parisc/ \
|
||||||
-e s/powerpc64/powerpc/ \
|
-e s/powerpc64/powerpc/ \
|
||||||
-e s/ppc.*/powerpc/ -e s/mips.*/mips/ \
|
-e s/ppc.*/powerpc/ -e s/mips.*/mips/ \
|
||||||
-e s/sh2.*/sh/ -e s/sh3.*/sh/ -e s/sh4.*/sh/ \
|
-e s/sh.*/sh/ -e s/nios2.*/nios2nommu/")
|
||||||
-e s/nios2.*/nios2nommu/")
|
|
||||||
|
|
||||||
# assume old manually sanitized kernel-headers
|
# assume old manually sanitized kernel-headers
|
||||||
LINUX_HEADERS_IS_KERNEL=n
|
LINUX_HEADERS_IS_KERNEL=n
|
||||||
|
@ -72,8 +72,8 @@ UCLIBC_TARGET_ENDIAN:=$(shell $(SHELL) -c "echo $(ARCH) | sed \
|
|||||||
-e 's/arm/LITTLE/' \
|
-e 's/arm/LITTLE/' \
|
||||||
-e 's/mipsel/LITTLE/' \
|
-e 's/mipsel/LITTLE/' \
|
||||||
-e 's/mips/BIG/' \
|
-e 's/mips/BIG/' \
|
||||||
-e 's/sh[234].*eb/BIG/' \
|
-e 's/sh.*eb/BIG/' \
|
||||||
-e 's/sh[234]/LITTLE/' \
|
-e 's/sh.*/LITTLE/' \
|
||||||
-e 's/sparc.*/BIG/' \
|
-e 's/sparc.*/BIG/' \
|
||||||
")
|
")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user