From: Michael Tremer Date: Sat, 8 Apr 2017 10:12:42 +0000 (+0200) Subject: kernel headers: Install correct headers for all architectures X-Git-Tag: v2.19-core111~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fdfddd64620ea6fcb109f50633c304f14a354b4d;p=people%2Fstevee%2Fipfire-2.x.git kernel headers: Install correct headers for all architectures Signed-off-by: Michael Tremer --- diff --git a/lfs/linux b/lfs/linux index d7b21e6d17..3c85a23bad 100644 --- a/lfs/linux +++ b/lfs/linux @@ -40,10 +40,10 @@ CXXFLAGS = PAK_VER = 73 DEPS = "" -KERNEL_ARCH = $(MACHINE) - ifeq "$(MACHINE)" "i586" KERNEL_ARCH = i386 +else + KERNEL_ARCH = $(MACHINE) endif VERSUFIX=ipfire$(KCFG) @@ -56,9 +56,19 @@ else HEADERS_PREFIX = /usr endif -ifeq "$(MACHINE_TYPE)" "arm" +ifeq "$(MACHINE)" "armv5tel" HEADERS_ARCH=arm -else +endif + +ifeq "$(MACHINE)" "aarch64" + HEADERS_ARCH=arm64 +endif + +ifeq "$(MACHINE)" "x86_64" + HEADERS_ARCH=x86 +endif + +ifeq "$(MACHINE)" "i586" HEADERS_ARCH=x86 endif