Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jul 2016 16:37:36 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r302905 - projects/mips64-clang/sys/boot/mips
Message-ID:  <201607151637.u6FGbaNu024171@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Fri Jul 15 16:37:36 2016
New Revision: 302905
URL: https://svnweb.freebsd.org/changeset/base/302905

Log:
  beri boot loader doesn't build with clang external toolchain.  Disable it
  for the "if gcc && mips64" case.

Modified:
  projects/mips64-clang/sys/boot/mips/Makefile

Modified: projects/mips64-clang/sys/boot/mips/Makefile
==============================================================================
--- projects/mips64-clang/sys/boot/mips/Makefile	Fri Jul 15 15:55:36 2016	(r302904)
+++ projects/mips64-clang/sys/boot/mips/Makefile	Fri Jul 15 16:37:36 2016	(r302905)
@@ -2,6 +2,10 @@
 .include <src.opts.mk>
 
 #
+# clang is unable to compile this uboot code at this time
+.if ${COMPILER_TYPE} == "gcc"
+SUBDIR+=	uboot
+#
 # The BERI boot loader port works only on 64-bit MIPS; not a hard port to
 # 32-bit if someone is interested.  Build on all 64-bit MIPS platforms to
 # ensure it gets adequate build-test coverage.
@@ -9,11 +13,6 @@
 .if ${MACHINE_ARCH} == "mips64" 
 SUBDIR+=	beri
 .endif
-
-#
-# clang is unable to compile this uboot code at this time
-.if ${COMPILER_TYPE} == "gcc"
-SUBDIR+=	uboot
 .endif
 
 .include <bsd.subdir.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607151637.u6FGbaNu024171>