From patchwork Tue Jun 25 19:35:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 254301 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 1E9442C007C for ; Wed, 26 Jun 2013 05:36:51 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4FCC6A0233; Tue, 25 Jun 2013 19:36:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MyC4Fne5aLeV; Tue, 25 Jun 2013 19:36:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 79E9AA022C; Tue, 25 Jun 2013 19:36:18 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id F28DC8F7A2 for ; Tue, 25 Jun 2013 19:36:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8DB64868FF for ; Tue, 25 Jun 2013 19:36:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XqEweNkeDC5h for ; Tue, 25 Jun 2013 19:35:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.35.102]) by whitealder.osuosl.org (Postfix) with ESMTP id 1E19780ADD for ; Tue, 25 Jun 2013 19:35:58 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id D8707797; Tue, 25 Jun 2013 21:35:57 +0200 (CEST) Received: from localhost (AToulouse-651-1-224-135.w86-199.abo.wanadoo.fr [86.199.199.135]) by mail.free-electrons.com (Postfix) with ESMTPSA id 9E6C1755 for ; Tue, 25 Jun 2013 21:35:57 +0200 (CEST) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Tue, 25 Jun 2013 21:35:37 +0200 Message-Id: <1372188953-29449-3-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1372188953-29449-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1372188953-29449-1-git-send-email-thomas.petazzoni@free-electrons.com> Subject: [Buildroot] [RFCv1 02/18] busybox: don't use kernel headers directly X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net The kernel headers are part of the staging directory, so there is no reason to point the Busybox CFLAGS directly to them. Signed-off-by: Thomas Petazzoni --- package/busybox/busybox.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk index cfefdbb..acc9008 100644 --- a/package/busybox/busybox.mk +++ b/package/busybox/busybox.mk @@ -16,8 +16,7 @@ BUSYBOX_LICENSE = GPLv2 BUSYBOX_LICENSE_FILES = LICENSE BUSYBOX_CFLAGS = \ - $(TARGET_CFLAGS) \ - -I$(LINUX_HEADERS_DIR)/include + $(TARGET_CFLAGS) BUSYBOX_LDFLAGS = \ $(TARGET_LDFLAGS)