From owner-freebsd-current@FreeBSD.ORG Thu Sep 23 21:41:37 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D3D51065670 for ; Thu, 23 Sep 2010 21:41:37 +0000 (UTC) (envelope-from mdf356@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id F38038FC0C for ; Thu, 23 Sep 2010 21:41:36 +0000 (UTC) Received: by gxk8 with SMTP id 8so943804gxk.13 for ; Thu, 23 Sep 2010 14:41:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=nh1+kz6xj/BLZkMUETR/1SauNMiHcn1SiI7qokiHgDk=; b=r6DG7ziQWEkc9rz+zEmfgf1LbYJdjEz2ZyLiXrTfTqKVjwIdX183S4PI7XSJV1yf+c M1buiucwP02IF3dExX+Z7832lkyqQ1vCOGtNN6pgzVXG4/W9zVxhBrTcFlAa4QBwe96u 82/P/9aY38KPrNHzc+og3jzMdHvvzjrdQfQg8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=w2BPtnp80unMHz1lZ6zx3oXQdH2gKA2X6ON4XDkJz5I3i8Y/0NJtBz1r/2QyY7raPs DRbRAuALxJ+wgjC2+6rbNxwDfCR+othrQ2GrcWaLHLfuRovkuClQ40fgb0B5sBwiALM0 ER8JhEtoepCinl2SB2K6JtDvqKQ5RlT4VvR3g= MIME-Version: 1.0 Received: by 10.151.40.19 with SMTP id s19mr3627035ybj.121.1285278095988; Thu, 23 Sep 2010 14:41:35 -0700 (PDT) Sender: mdf356@gmail.com Received: by 10.231.187.71 with HTTP; Thu, 23 Sep 2010 14:41:35 -0700 (PDT) Date: Thu, 23 Sep 2010 14:41:35 -0700 X-Google-Sender-Auth: XGgqbYBVT18Bxw_kgPu0I-GG2T4 Message-ID: From: mdf@FreeBSD.org To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: sys/conf/files aicasm X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2010 21:41:37 -0000 I can't say I understand much about the syntax of the top part of sys/conf/files, but this line: aicasm optional ahc | ahd \ dependency "$S/dev/aic7xxx/aicasm/*.[chyl]" \ compile-with "CC='${CC}' ${MAKE} -f $S/dev/aic7xxx/aicasm/Makefile MAKESRCPATH=$S/dev/aic7xxx/aicasm" \ no-obj no-implicit-rule \ clean "aicasm* y.tab.h" looks to me like aicasm should only be built if I have device ahc or device ahd in my kernel configuration file. But even if I make a config file without those devices (e.g. by doing include GENERIC then nodevices ahc, ahd) the file is still built. Am I missing something about how these lines in sys/conf/files work? As a side question, why does the Makefile for dev/aic7xxx/aicasm have -I/usr/include in CFLAGS instead of using some marcos to get to the source tree I'm actually building from? Thanks, matthew