From owner-freebsd-arm@freebsd.org Wed Feb 3 08:48:25 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 2E64AA7618B; Wed, 3 Feb 2016 08:48:25 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (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 ECC76876; Wed, 3 Feb 2016 08:48:24 +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 E2D7A1FE022; Wed, 3 Feb 2016 09:48:21 +0100 (CET) Subject: Re: Cannot include header files from sys/contrib directory To: Marcin Mazurek References: <56B09AAE.9000909@selasky.org> <56B09F3A.1080409@selasky.org> <56B0A2F3.6080100@selasky.org> <56B0D420.10609@selasky.org> Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org, Bryan Drewery From: Hans Petter Selasky Message-ID: <56B1BF62.1090304@selasky.org> Date: Wed, 3 Feb 2016 09:50:42 +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=utf-8; 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: Wed, 03 Feb 2016 08:48:25 -0000 On 02/03/16 09:45, Marcin Mazurek wrote: > Hi, > > Actually, I have got the same 'compile-with' and 'no-depend' options for my > all files. > > I run to build kernel with command: > env MAKEOBJDIRPREFIX=/root/mma/anpa-build make buildkernel TARGET=arm > TARGET_ARCH=armv6 KERNCONF=ALPINE -j6 -DNO_CLEAN > > I tried to do this without -DNO_CLEAN option too, but the output was the > same. > > Files that I need to include are located in sys/contrib/alpine-hal and > sys/contrib/alpine-hal/eth. I attach the entire error log. > Try to add: -DNO_KERNELDEPEND when building. Does it work then? --HPS