From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-bk0-f44.google.com ([209.85.214.44]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1S7ZK2-0006Tm-3X for ptxdist@pengutronix.de; Tue, 13 Mar 2012 22:31:59 +0100 Received: by bkuw5 with SMTP id w5so936196bku.31 for ; Tue, 13 Mar 2012 14:31:52 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20120313130616.GQ29221@pengutronix.de> References: <1331587504-16721-1-git-send-email-linux@bohmer.net> <1331587504-16721-3-git-send-email-linux@bohmer.net> <20120313095903.GI29221@pengutronix.de> <20120313130616.GQ29221@pengutronix.de> Date: Tue, 13 Mar 2012 22:31:52 +0100 Message-ID: From: Remy Bohmer Subject: Re: [ptxdist] [PATCH 3/5] [busybox] Pass extra platform CFLAGS to busybox make Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi, 2012/3/13 Michael Olbrich : > On Tue, Mar 13, 2012 at 01:46:26PM +0100, Remy Bohmer wrote: >> It seems I have to stick with the bare minimal options I can set >> here... Or any other ideas? > > Don't set any flags in BUSYBOX_MAKE_OPT. From what I can tell, the current > busybox Makefile uses CFLAGS, CPPFLAGS and LDFLAGS from the environment. > Try something like this (untested): > > BUSYBOX_MAKE_OPT :=3D \ > =A0 =A0 =A0 =A0ARCH=3D$(PTXCONF_ARCH_STRING) \ > =A0 =A0 =A0 =A0SUBARCH=3D$(PTXCONF_ARCH_STRING) \ > =A0 =A0 =A0 =A0CROSS_COMPILE=3D$(COMPILER_PREFIX) \ > =A0 =A0 =A0 =A0HOSTCC=3D$(HOSTCC) > > BUSYBOX_MAKE_ENV :=3D \ > =A0 =A0 =A0 =A0$(CROSS_ENV) \ > =A0 =A0 =A0 =A0CFLAGS=3D"$(CROSS_CFLAGS) -I$(KERNEL_HEADERS_INCLUDE_DIR)" > =A0 =A0 =A0 =A0SKIP_STRIP=3Dy > > BUSYBOX_INSTAL_ENV :=3D \ > =A0 =A0 =A0 =A0$(BUSYBOX_MAKE_ENV) > > > and remove the PTXCONF_BUSYBOX_RFKILL stuff. The extra "-I" unconditional= ly > does not hurt. This seems to work properly. Thanks. Will repost a new series in a minute. Kind regards, Remy -- = ptxdist mailing list ptxdist@pengutronix.de