1abe38974SJens Wiklanderifeq ($(CFG_ARM64_core),y) 2abe38974SJens Wiklandercore-platform-cppflags += -DARM64=1 3*7a976658SJerome ForissierCFG_KERN_LINKER_FORMAT ?= elf64-littleaarch64 4*7a976658SJerome ForissierCFG_KERN_LINKER_ARCH ?= aarch64 5abe38974SJens Wiklanderendif 6abe38974SJens Wiklanderifeq ($(CFG_ARM32_core),y) 7abe38974SJens Wiklandercore-platform-cppflags += -DARM32=1 8*7a976658SJerome ForissierCFG_KERN_LINKER_FORMAT ?= elf32-littlearm 9*7a976658SJerome ForissierCFG_KERN_LINKER_ARCH ?= arm 10*7a976658SJerome Forissierendif 11*7a976658SJerome Forissier 12*7a976658SJerome Forissierifeq ($(CFG_ARM64_core),y) 13*7a976658SJerome Forissiercore-platform-cppflags += $(arm64-platform-cppflags) 14*7a976658SJerome Forissiercore-platform-cflags += $(arm64-platform-cflags) 15*7a976658SJerome Forissiercore-platform-aflags += $(arm64-platform-aflags) 16*7a976658SJerome Forissierelse 17*7a976658SJerome Forissiercore-platform-cppflags += $(arm32-platform-cppflags) 18*7a976658SJerome Forissiercore-platform-cflags += $(arm32-platform-cflags) 19*7a976658SJerome Forissiercore-platform-aflags += $(arm32-platform-aflags) 20abe38974SJens Wiklanderendif 21