1*a189a570SPascal BrandCFG_LTC_OPTEE_THREAD ?= y 2*a189a570SPascal Brand 3abe38974SJens Wiklanderifeq ($(CFG_ARM64_core),y) 4bc62d278SJens Wiklandercore-platform-cppflags += -DARM64=1 -D__LP64__=1 57a976658SJerome ForissierCFG_KERN_LINKER_FORMAT ?= elf64-littleaarch64 67a976658SJerome ForissierCFG_KERN_LINKER_ARCH ?= aarch64 7abe38974SJens Wiklanderendif 8abe38974SJens Wiklanderifeq ($(CFG_ARM32_core),y) 9fbecf4eeSJens Wiklandercore-platform-cppflags += -DARM32=1 -D__ILP32__=1 107a976658SJerome ForissierCFG_KERN_LINKER_FORMAT ?= elf32-littlearm 117a976658SJerome ForissierCFG_KERN_LINKER_ARCH ?= arm 127a976658SJerome Forissierendif 137a976658SJerome Forissier 147a976658SJerome Forissierifeq ($(CFG_ARM64_core),y) 157a976658SJerome Forissiercore-platform-cppflags += $(arm64-platform-cppflags) 167a976658SJerome Forissiercore-platform-cflags += $(arm64-platform-cflags) 177a976658SJerome Forissiercore-platform-aflags += $(arm64-platform-aflags) 187a976658SJerome Forissierelse 197a976658SJerome Forissiercore-platform-cppflags += $(arm32-platform-cppflags) 207a976658SJerome Forissiercore-platform-cflags += $(arm32-platform-cflags) 217a976658SJerome Forissiercore-platform-aflags += $(arm32-platform-aflags) 22abe38974SJens Wiklanderendif 23