Date: Tue, 28 Aug 2007 10:27:33 GMT From: Rafal Jaworowski <raj@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 125772 for review Message-ID: <200708281027.l7SARXVP052856@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=125772 Change 125772 by raj@raj_booke_intgr on 2007/08/28 10:27:21 Add appropriate CPU flag to build e500 PowerPC machine code Kernel built without e500-specific flag does not run on MPC8555; in order to produce a working kernel use: make buildkernel TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 KERNCONF=... Affected files ... .. //depot/projects/e500/share/mk/bsd.cpu.mk#4 edit Differences ... ==== //depot/projects/e500/share/mk/bsd.cpu.mk#4 (text+ko) ==== @@ -173,6 +173,13 @@ LD += -EB .endif +.if ${MACHINE_ARCH} == "powerpc" +. if ${CPUTYPE} == "e500" +MACHINE_CPU = e500 +_CPUCFLAGS+= -Wa,-me500 +. endif +.endif + # NB: COPTFLAGS is handled in /usr/src/sys/conf/kern.pre.mk .if !defined(NO_CPU_CFLAGS)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708281027.l7SARXVP052856>