From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 16 Jun 2021 15:00:53 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ltVA5-00088B-4v for lore@lore.pengutronix.de; Wed, 16 Jun 2021 15:00:53 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ltVA4-0007ex-ON; Wed, 16 Jun 2021 15:00:52 +0200 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ltV9j-0007eW-OV for ptxdist@pengutronix.de; Wed, 16 Jun 2021 15:00:31 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ltV9j-0005Ms-FZ for ptxdist@pengutronix.de; Wed, 16 Jun 2021 15:00:31 +0200 Date: Wed, 16 Jun 2021 15:00:31 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Message-ID: <20210616130031.GK22020@pengutronix.de> Mail-Followup-To: ptxdist@pengutronix.de References: <20210614144755.22035-1-ada@thorsis.com> <20210616115355.GL839947@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 14:59:12 up 118 days, 16:23, 122 users, load average: 0.08, 0.19, 0.18 User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [ptxdist] [RFC PATCH 0/1] ppp: version bump 2.4.7 -> 2.4.9 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Wed, Jun 16, 2021 at 02:22:01PM +0200, Alexander Dahl wrote: > Am Wed, Jun 16, 2021 at 01:53:55PM +0200 schrieb Michael Olbrich: > > Hi, > > > > On Mon, Jun 14, 2021 at 04:47:54PM +0200, Alexander Dahl wrote: > > > upstream released 2.4.7 in 2014 and 2.4.9 few months ago. They use > > > handcrafted 'configure' and 'Makefile', which makes cross-build and > > > updating the package somewhat difficult. For the new release upstream > > > tried to improve cross-compile support (and continues to do so in git > > > master branch). > > > > > > This single patch series is RFC or WIP, because of several things: > > > > > > - Importing debian patches was done manually, so the diff is probably > > > more noisy than necessary. Someone in IRC said there's a script for > > > that, but could not find it. > > > > That's because it's not public yet. It's just something I hacked to > > simplify this. I'll attach it to this mail. I should probably add it to > > ptxdist, but it need some more polishing for that. > > > > It doesn't do all the work for you. It just generates better formated > > patches and has a blacklist for each package so we can avoid documentation > > or debian specific patches more easily. > > Thanks, I'll have a look into it. > > > > - CFLAGS are not passed, and I don't know how to do that. > > > > Maybe PPP_CFLAGS is what you need? > > > > https://www.ptxdist.org/doc/ref_make_variables.html?highlight=_cflags#build-environment-for-all-stages > > That's not what I meant. If I understand correctly, I can pass > additional package specific CFLAGS with PPP_CFLAGS, which are added to > other CFLAGS already set? If I don't touch that variable, it's not > defined: > > % p print PPP_CFLAGS > PPP_CFLAGS undefined > > What I need is something containing the CFLAGS already set by ptxdist > through various variables (like platform hardening options) to pass it > on to the handcrafted ./configure which does not consider the CFLAGS > environment variable. Why do you need to pass those to the configure script? All CFLAGS will be automatically added when the compiler is called. Or is there some code in the configure script that scans the CFLAGS manually? Michael -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de