From owner-svn-src-head@FreeBSD.ORG Sat Jan 10 23:43:40 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E447EB43; Sat, 10 Jan 2015 23:43:40 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A4B393D3; Sat, 10 Jan 2015 23:43:40 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0ANhemV036405; Sat, 10 Jan 2015 23:43:40 GMT (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0ANheO1036404; Sat, 10 Jan 2015 23:43:40 GMT (envelope-from imp@FreeBSD.org) Message-Id: <201501102343.t0ANheO1036404@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: imp set sender to imp@FreeBSD.org using -f From: Warner Losh Date: Sat, 10 Jan 2015 23:43:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r276951 - head/sys/modules/aic7xxx/ahc X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2015 23:43:41 -0000 Author: imp Date: Sat Jan 10 23:43:39 2015 New Revision: 276951 URL: https://svnweb.freebsd.org/changeset/base/276951 Log: Use .MAKE.LEVEL being defined as a bootstrap aid when providing fallback targets to build the aic generated files. fmake doesn't like the current construct, and since it doesn't have .MAKE.LEVEL, just don't provide the fallback targets for fmake. This gives a little extra compatibility to old systems trying to build new kernels at almost no cost to the current code. Modified: head/sys/modules/aic7xxx/ahc/Makefile Modified: head/sys/modules/aic7xxx/ahc/Makefile ============================================================================== --- head/sys/modules/aic7xxx/ahc/Makefile Sat Jan 10 23:43:37 2015 (r276950) +++ head/sys/modules/aic7xxx/ahc/Makefile Sat Jan 10 23:43:39 2015 (r276951) @@ -35,7 +35,11 @@ ${GENSRCS}: \ ${REG_PRINT_OPT} \ -i ${SYSDIR}/dev/aic7xxx/aic7xxx_osm.h \ ${SYSDIR}/dev/aic7xxx/aic7xxx.seq -.else +.elif defined(.MAKE.LEVEL) +# This target interfers with fmake's world view and causes this message +# to appear when building the tree from 8.x worlds where fmake is the +# default. fmake doens't define .MAKE.LEVEL so key off that to omit it, +# while still allowing more-modern makes to theoretically update things. ${GENSRCS}: @echo "Error: ${.TARGET} is missing. Run 'make ahcfirmware'" .endif