X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=lfs%2FConfig;h=76f279da96236003618f0b176873aea8f80d1ff6;hp=8db3215709eb98624d87f018948d87b9a1cea56e;hb=035f6c75aed2165a8ecd92571c48daf07edf4ab5;hpb=ba3cbb0cfbf41c05185caa1f42b985738ff218bc diff --git a/lfs/Config b/lfs/Config index 8db3215709..76f279da96 100644 --- a/lfs/Config +++ b/lfs/Config @@ -37,10 +37,22 @@ ifeq "$(BUILD_ARCH)" "aarch64" IS_64BIT = 1 endif +ifeq "$(BUILD_ARCH)" "armv7hl" + IS_32BIT = 1 +endif + +ifeq "$(BUILD_ARCH)" "armv5tel" + IS_32BIT = 1 +endif + ifeq "$(BUILD_ARCH)" "x86_64" IS_64BIT = 1 endif +ifeq "$(BUILD_ARCH)" "i586" + IS_32BIT = 1 +endif + ifeq "$(TOOLCHAIN)" "1" PREFIX = $(TOOLS_DIR) else @@ -79,9 +91,17 @@ DIR_TMP = /tmp # Add the compiler location and version and specs to the ccache hash CCACHE_COMPILERCHECK += $(shell gcc -dumpspecs 2>/dev/null | md5sum | cut -d ' ' -f1) -# We support EFI on x86_64 +# We support EFI on x86_64 and aarch64 ifeq "$(BUILD_ARCH)" "x86_64" EFI = 1 + EFI_ARCH = x64 + GRUB_ARCH = $(BUILD_ARCH) +endif + +ifeq "$(BUILD_ARCH)" "aarch64" + EFI = 1 + EFI_ARCH = aa64 + GRUB_ARCH = arm64 endif ###############################################################################