Module Name: src Committed By: bouyer Date: Tue Jul 22 17:46:59 UTC 2014
Modified Files: src/sys/arch/evbarm/stand/bootimx23: Makefile Log Message: Override CPUFLAGS for compiler cpu-specific options, instead of appening to CFLAGS. This allows the user to define CPUFLAGS without breaking the build. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/evbarm/stand/bootimx23/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/evbarm/stand/bootimx23/Makefile diff -u src/sys/arch/evbarm/stand/bootimx23/Makefile:1.13 src/sys/arch/evbarm/stand/bootimx23/Makefile:1.14 --- src/sys/arch/evbarm/stand/bootimx23/Makefile:1.13 Sun Jan 12 15:26:29 2014 +++ src/sys/arch/evbarm/stand/bootimx23/Makefile Tue Jul 22 17:46:59 2014 @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.13 2014/01/12 15:26:29 tsutsui Exp $ +# $Id: Makefile,v 1.14 2014/07/22 17:46:59 bouyer Exp $ S= ${.CURDIR}/../../../../ PROG= bootimx23 @@ -8,7 +8,7 @@ SRCS= bootimx23.c power_prep.c clock_pr CLEANFILES+= ${PROG} CFLAGS+= -Wall -Wno-main -ffreestanding -fno-unwind-tables -CFLAGS+= -march=armv5te -mtune=arm926ej-s +CPUFLAGS= -march=armv5te -mtune=arm926ej-s CPPFLAGS+= -D_STANDALONE -DMEMSIZE=64 CPPFLAGS+= -DKERNEL_BOOT_ARGS=\"root=ld0a\" CPPFLAGS+= -nostdinc -I. -I${.CURDIR} -I${.OBJDIR} -I${S} -I${S}/arch