From patchwork Sun Jun 30 19:28:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 255937 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 09AEA2C02A6 for ; Mon, 1 Jul 2013 07:18:51 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C47E626D3A; Sun, 30 Jun 2013 21:18:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 746WRL7-8GHV; Sun, 30 Jun 2013 21:18:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id C3D69268FB; Sun, 30 Jun 2013 21:18:48 +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 6886A8F79F for ; Sun, 30 Jun 2013 21:18:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 633718B828 for ; Sun, 30 Jun 2013 21:18:47 +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 3RwEMP0i8i68 for ; Sun, 30 Jun 2013 21:18:30 +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 86A3B8D59A for ; Sun, 30 Jun 2013 19:29:22 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 790FA1C0E; Sun, 30 Jun 2013 21:29:22 +0200 (CEST) Received: from localhost (AToulouse-651-1-103-169.w109-222.abo.wanadoo.fr [109.222.70.169]) by mail.free-electrons.com (Postfix) with ESMTPSA id 451C775A for ; Sun, 30 Jun 2013 21:29:22 +0200 (CEST) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Sun, 30 Jun 2013 21:28:52 +0200 Message-Id: <1372620553-11416-3-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1372620553-11416-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1372620553-11416-1-git-send-email-thomas.petazzoni@free-electrons.com> Subject: [Buildroot] [PATCH 02/23] 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)