blob: 4b44614035b8ce817713d3d64accbd8ef37d702c [file] [log] [blame]
# LoongArch Architecture definition
DEFAULTTUNE ?= "loongarch64"
TUNE_ARCH = "${TUNE_ARCH:tune-${DEFAULTTUNE}}"
TUNE_PKGARCH = "${TUNE_PKGARCH:tune-${DEFAULTTUNE}}"
TUNE_CCARGS:append = "${@bb.utils.contains('TUNE_FEATURES', 'loongarch64', ' -march=la464 -mabi=lp64d', ' ', d)}"