From owner-freebsd-questions@FreeBSD.ORG Mon Sep 11 10:40:26 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D13716A4A0 for ; Mon, 11 Sep 2006 10:40:26 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 9828943D58 for ; Mon, 11 Sep 2006 10:40:25 +0000 (GMT) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 11 Sep 2006 10:40:24 -0000 Received: from p54A7FC43.dip.t-dialin.net (EHLO [192.168.0.12]) [84.167.252.67] by mail.gmx.net (mp023) with SMTP; 11 Sep 2006 12:40:24 +0200 X-Authenticated: #5465401 Message-ID: <45053D14.7090705@gmx.de> Date: Mon, 11 Sep 2006 12:40:20 +0200 From: "[LoN]Kamikaze" Organization: Lords of Nightmare User-Agent: Thunderbird 1.5.0.5 (X11/20060729) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4505303A.8020405@gmx.de> In-Reply-To: <4505303A.8020405@gmx.de> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: how to get one OBJDIR per kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 10:40:26 -0000 [LoN]Kamikaze wrote: > ... The trouble is > that different kernels still clash in the same OBJDIR. I would like to > have something like MAKEOBJDIRPREFIX=/usr/obj/${KERNCONF} , the trouble > being that it cannot be set in make.conf . > Is there a way around this restriction? > Just for the record I found a solution. My first test indicates that it works fine, that makes me wonder why the restriction is there. .if !make(dummy) MAKEOBJDIRPREFIX= ${WRKDIRPREFIX}/${KERNCONF} .endif