summaryrefslogtreecommitdiffstats
path: root/sys/boot/arm/uboot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/arm/uboot/Makefile')
-rw-r--r--sys/boot/arm/uboot/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/arm/uboot/Makefile b/sys/boot/arm/uboot/Makefile
index e8ac403..906fc87 100644
--- a/sys/boot/arm/uboot/Makefile
+++ b/sys/boot/arm/uboot/Makefile
@@ -77,7 +77,7 @@ CLEANFILES+= vers.c loader.help
CFLAGS+= -ffreestanding
-LDFLAGS= -nostdlib -static -T ${.CURDIR}/ldscript.${MACHINE_ARCH}
+LDFLAGS= -nostdlib -static -T ${.CURDIR}/ldscript.${MACHINE_CPUARCH}
# Pull in common loader code
.PATH: ${.CURDIR}/../../uboot/common
OpenPOWER on IntegriCloud