svn commit: r276770 - head/sys/conf

Warner Losh imp at FreeBSD.org
Tue Jan 6 23:08:48 UTC 2015


Author: imp
Date: Tue Jan  6 23:08:47 2015
New Revision: 276770
URL: https://svnweb.freebsd.org/changeset/base/276770

Log:
  Fix typo from too many cut-n-paste operations. Use IMPSRC:T to just
  get the tail part of the path. We can now build kernels the
  old-fashioned way on FreeBSD 9.x and 10.x on at least amd64 using
  clang 3.3, 3.4 or gcc 4.2.1 (though with the latter you need
  WITHOUT_MODULES="aesni vmm cxgbe" due to various issues with
  gcc 4.2.1).

Modified:
  head/sys/conf/kern.mk
  head/sys/conf/kern.pre.mk

Modified: head/sys/conf/kern.mk
==============================================================================
--- head/sys/conf/kern.mk	Tue Jan  6 23:04:41 2015	(r276769)
+++ head/sys/conf/kern.mk	Tue Jan  6 23:08:47 2015	(r276770)
@@ -176,7 +176,7 @@ CFLAGS+=	-gdwarf-2
 .endif
 
 CFLAGS+= ${CWARNEXTRA} ${CWARNFLAGS} ${CWARNFLAGS.${.IMPSRC:T}}
-CFLAGS+= ${CFLAGS.${COMPILER_TYPE}} ${CFLAGS.${.IMPSRC}}
+CFLAGS+= ${CFLAGS.${COMPILER_TYPE}} ${CFLAGS.${.IMPSRC:T}}
 
 # Tell bmake not to mistake standard targets for things to be searched for
 # or expect to ever be up-to-date.

Modified: head/sys/conf/kern.pre.mk
==============================================================================
--- head/sys/conf/kern.pre.mk	Tue Jan  6 23:04:41 2015	(r276769)
+++ head/sys/conf/kern.pre.mk	Tue Jan  6 23:08:47 2015	(r276770)
@@ -103,7 +103,7 @@ CFLAGS.gcc+=${CFLAGS_ARCH_PARAMS}
 WERROR?= -Werror
 
 # XXX LOCORE means "don't declare C stuff" not "for locore.s".
-ASM_CFLAGS= -x assembler-with-cpp -DLOCORE ${CFLAGS} ${ASM_CFLAGS.${.IMPSRC}} 
+ASM_CFLAGS= -x assembler-with-cpp -DLOCORE ${CFLAGS} ${ASM_CFLAGS.${.IMPSRC:T}} 
 
 .if defined(PROFLEVEL) && ${PROFLEVEL} >= 1
 CFLAGS+=	-DGPROF


More information about the svn-src-head mailing list