mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
Makefile: move KERNEL_ARCH from kernel-headers to here
Closes #2707 It's not only for kernel headers, and the kernel headers .mk file isn't included for crosstool-ng toolchain, which broke linux/u-boot/.. builds. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
@@ -13,14 +13,6 @@ LINUX_HEADERS_SITE:=127.0.0.1
|
||||
LINUX_HEADERS_SOURCE:=unspecified-kernel-headers
|
||||
LINUX_HEADERS_UNPACK_DIR:=$(TOOLCHAIN_DIR)/linux-libc-headers-null
|
||||
|
||||
KERNEL_ARCH:=$(shell $(SHELL) -c "echo \"$(ARCH)\" | sed -e \"s/-.*//\" \
|
||||
-e s/i.86/i386/ -e s/sun4u/sparc64/ \
|
||||
-e s/arm.*/arm/ -e s/sa110/arm/ \
|
||||
-e s/parisc64/parisc/ \
|
||||
-e s/powerpc64/powerpc/ \
|
||||
-e s/ppc.*/powerpc/ -e s/mips.*/mips/ \
|
||||
-e s/sh.*/sh/")
|
||||
|
||||
include toolchain/kernel-headers/kernel-headers-new.makefile
|
||||
|
||||
$(DL_DIR)/$(LINUX_HEADERS_SOURCE):
|
||||
|
||||
Reference in New Issue
Block a user