From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay01.ispgateway.de ([80.67.31.28]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RovpY-00089O-Nh for ptxdist@pengutronix.de; Sun, 22 Jan 2012 12:43:48 +0100 Received: from [88.217.113.105] (helo=galilei.fritz.box) by smtprelay01.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1RovpY-0008AC-EI for ptxdist@pengutronix.de; Sun, 22 Jan 2012 12:43:28 +0100 From: Bernhard Walle Date: Sun, 22 Jan 2012 12:43:14 +0100 Message-Id: <1327232595-25378-3-git-send-email-bernhard@bwalle.de> In-Reply-To: <1327232595-25378-1-git-send-email-bernhard@bwalle.de> References: <1327232595-25378-1-git-send-email-bernhard@bwalle.de> Subject: [ptxdist] [PATCH 2/3] kernel: Use host-elf-h-compat Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Add a dependency to the host tool and set the include flags properly. Signed-off-by: Bernhard Walle --- platforms/hosttools.in | 1 + platforms/kernel.in | 1 + rules/kernel.make | 1 + 3 files changed, 3 insertions(+), 0 deletions(-) diff --git a/platforms/hosttools.in b/platforms/hosttools.in index 155b30b..0435545 100644 --- a/platforms/hosttools.in +++ b/platforms/hosttools.in @@ -5,6 +5,7 @@ source "rules/host-cmake.in" source "rules/host-cramfs.in" source "rules/host-dosfstools.in" source "rules/host-e2fsprogs.in" +source "rules/host-elf-h-compat.in" source "rules/host-genext2fs.in" source "rules/host-genpart.in" source "rules/host-gettext.in" diff --git a/platforms/kernel.in b/platforms/kernel.in index b601284..4391e79 100644 --- a/platforms/kernel.in +++ b/platforms/kernel.in @@ -2,6 +2,7 @@ menuconfig KERNEL bool default y select IMAGE_KERNEL + select HOST_ELF_H_COMPAT select HOST_UMKIMAGE if KERNEL_IMAGE_U select HOST_XZ if KERNEL_XZ select HOST_LZOP if KERNEL_LZOP diff --git a/rules/kernel.make b/rules/kernel.make index a445182..f125a69 100644 --- a/rules/kernel.make +++ b/rules/kernel.make @@ -47,6 +47,7 @@ KERNEL_ENV := KCONFIG_NOTIMESTAMP=1 KERNEL_MAKEVARS := \ $(PARALLELMFLAGS) \ HOSTCC=$(HOSTCC) \ + HOSTCFLAGS=$(HOST_CPPFLAGS) $(HOST_CFLAGS) \ ARCH=$(PTXCONF_KERNEL_ARCH_STRING) \ CROSS_COMPILE=$(KERNEL_CROSS_COMPILE) \ \ -- 1.7.7.4 -- ptxdist mailing list ptxdist@pengutronix.de