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 1Xtb5R-0004VQ-8v for ptxdist@pengutronix.de; Wed, 26 Nov 2014 12:48:45 +0100 Received: from [89.246.71.91] (helo=mail7.tqsc.de) by smtprelay01.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1Xtb5Q-0006Jm-F9 for ptxdist@pengutronix.de; Wed, 26 Nov 2014 12:48:44 +0100 Received: from sc1209091.tqsc.de ([192.168.168.49] helo=[127.0.0.1]) by mail7.tqsc.de with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Xtb5P-0008Pt-NN for ptxdist@pengutronix.de; Wed, 26 Nov 2014 12:48:43 +0100 Message-ID: <5475C176.70600@tqsc.de> Date: Wed, 26 Nov 2014 13:03:02 +0100 From: Markus Niebel MIME-Version: 1.0 References: <1416921879-1834-1-git-send-email-list-09_ptxdist@tqsc.de> <20141126094922.GC19664@pengutronix.de> In-Reply-To: <20141126094922.GC19664@pengutronix.de> Subject: Re: [ptxdist] [PATCH] systemd: add SYSTEMD_CPPFLAGS for kernel headers Reply-To: ptxdist@pengutronix.de, list-09@tqsc.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Hello Michael Am 26.11.2014 um 10:49 schrieb Michael Olbrich: >> index b0f7ce0..8c425e4 100644 >> --- a/rules/systemd.make >> +++ b/rules/systemd.make >> @@ -44,6 +44,9 @@ SYSTEMD_CONF_ENV += cc_cv_CFLAGS__flto=no >> SYSTEMD_CFLAGS := \ >> -I$(KERNEL_HEADERS_INCLUDE_DIR) >> >> +SYSTEMD_CPPFLAGS := \ >> + -I$(KERNEL_HEADERS_INCLUDE_DIR) >> + > > Hmmm, I think the correct solution is to set SYSTEMD_CPPFLAGS instead of > SYSTEMD_CFLAGS, right? Could you test that please? I don't a BSP right now, > where this fails, so I cannot test it. You are right. Will send v2. Markus -- ptxdist mailing list ptxdist@pengutronix.de