From owner-freebsd-arm@freebsd.org Tue Feb 2 12:19:02 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9D6BA97D24; Tue, 2 Feb 2016 12:19:02 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (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 A40F71CBD; Tue, 2 Feb 2016 12:19:02 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 5D8E31FE022; Tue, 2 Feb 2016 13:18:53 +0100 (CET) Subject: Re: Cannot include header files from sys/contrib directory To: Marcin Mazurek References: <56B09AAE.9000909@selasky.org> Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org, Bryan Drewery From: Hans Petter Selasky Message-ID: <56B09F3A.1080409@selasky.org> Date: Tue, 2 Feb 2016 13:21:14 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 12:19:02 -0000 On 02/02/16 13:07, Marcin Mazurek wrote: > Thanks for your response. > > I saw that and I tried doing it this way: > > dev/al_eth/al_eth.c optional al_eth compile-with > "-I$S/contrib/alpine-hal -I$S/contrib/alpine-hal/eth" > Hi, Try something like this: dev/al_eth/al_eth.c optional al_eth compile-with "${CC} -c -o ${.TARGET} ${CFLAGS} -I$S/contrib/alpine-hal -I$S/contrib/alpine-hal/eth ${PROF} ${.IMPSRC}" --HPS