From owner-freebsd-current@freebsd.org Tue Feb 2 12:29:40 2016 Return-Path: Delivered-To: freebsd-current@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 5AA8CA763F1 for ; Tue, 2 Feb 2016 12:29:40 +0000 (UTC) (envelope-from mma@semihalf.com) Received: from mail-ig0-x230.google.com (mail-ig0-x230.google.com [IPv6:2607:f8b0:4001:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 32E45334 for ; Tue, 2 Feb 2016 12:29:40 +0000 (UTC) (envelope-from mma@semihalf.com) Received: by mail-ig0-x230.google.com with SMTP id z14so58997356igp.1 for ; Tue, 02 Feb 2016 04:29:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GcBCKyIy1SBu2TOTEPpFqh+XXe6zVT+nheeGKJs7KJk=; b=W7wnqcZYWYF+jqcCeWgx27vZRzp0uwYX+0mvw9A9aVbadknO+jXmFnAvUX5sbn9UXC 0PSMk8AYWu/rL1f5usqOxCMoA2XU+p4Kxw9NDwXfQjGLd5EMrQ7lwAxQrjCKN5ZHfiDM hR75eok2738fu8JKGJvfJCpGlvgk48doJGJ0t37bP3RRX0uzY570uCG183SUKKkospGD oqqvc5NG6jXjMh47oFK5vKJT5PQXNWQGNP0eUzGcUcFk40L63LjIsCHXsb05rnc0B9XB um5Lf25wEy2Uc/E2VeIjwI9uD/+yRyFIsdRduXdNr+upty3qf0lc0hOgPntxwWGmzpr5 VyVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=GcBCKyIy1SBu2TOTEPpFqh+XXe6zVT+nheeGKJs7KJk=; b=BTTXKjTP18i9328W8sCGMsuYi6+AzB0TH4lzGdnzxfbSqiNV7HCZ6l/Iz+aA8+EdV7 IQbWGy+l26wicKI2I4QcdS0MrhOBl4coZrdVoTCz7T9Budp0c5oBgRGVHU8ONGiHnAIz fUSMIcdonZoV8M6Op+IZPQhkfqVJ8FPoxfOw3Hh9b5Xy6Kl6OYXMpjSclb4IiaKNUrTH oNTD6s4K+gTli8C7keMkmYDiaxH2or+AaP77gBNyzUGY88svx8VbRv7lLXJtXhcOY0X6 dGQg01bj/YyPjta3pdYxZr4qmpszHSgzWms/vntKIqpFno8oAyhWfAdLM1g7XOAMS2Hg jDbQ== X-Gm-Message-State: AG10YOTkkdCCs7CGv48f0GptbuVUZeFfZvctCnY6NO85IsIWxUlZLah6Gta4BhYOCXnN35gUIX/TMYGYDjSdlg== MIME-Version: 1.0 X-Received: by 10.50.78.68 with SMTP id z4mr16059827igw.16.1454416179613; Tue, 02 Feb 2016 04:29:39 -0800 (PST) Received: by 10.107.4.8 with HTTP; Tue, 2 Feb 2016 04:29:39 -0800 (PST) In-Reply-To: <56B09F3A.1080409@selasky.org> References: <56B09AAE.9000909@selasky.org> <56B09F3A.1080409@selasky.org> Date: Tue, 2 Feb 2016 13:29:39 +0100 Message-ID: Subject: Re: Cannot include header files from sys/contrib directory From: Marcin Mazurek To: Hans Petter Selasky Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org, Bryan Drewery Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 02 Feb 2016 12:29:40 -0000 I just tested this, but without any result. I got the same errors. 2016-02-02 13:21 GMT+01:00 Hans Petter Selasky : > 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 >