From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 03 Sep 2021 17:27:46 +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 1mMB6Y-00034f-OL for lore@lore.pengutronix.de; Fri, 03 Sep 2021 17:27:46 +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 1mMB6Y-0000Ow-EL; Fri, 03 Sep 2021 17:27:46 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mMB6Q-0000OH-0p; Fri, 03 Sep 2021 17:27:38 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mMB6P-00007G-AH; Fri, 03 Sep 2021 17:27:37 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1mMB6P-00Gy7i-7P; Fri, 03 Sep 2021 17:27:37 +0200 Date: Fri, 3 Sep 2021 17:27:37 +0200 From: Michael Olbrich To: Christian Melki Message-ID: <20210903152737.GN4027748@pengutronix.de> Mail-Followup-To: Christian Melki , ptxdist@pengutronix.de References: <20210830115423.570707-1-christian.melki@t2data.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210830115423.570707-1-christian.melki@t2data.com> 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 User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [ptxdist] [PATCH] rules/syslogng.make: 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 Cc: 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 Please write a useful Subject. In general, the subject usually starts with ':' and then a brief summary. Probably about installing to CROSS_LIB_DIR. Michael On Mon, Aug 30, 2021 at 01:54:23PM +0200, Christian Melki wrote: > Be more specific about where modules (.so files) end up and searched for. > Let them land in a CROSS_LIB_DIR path. > > Signed-off-by: Christian Melki > --- > rules/syslogng.make | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/rules/syslogng.make b/rules/syslogng.make > index d5ac92797..41bdec766 100644 > --- a/rules/syslogng.make > +++ b/rules/syslogng.make > @@ -41,6 +41,8 @@ SYSLOGNG_ENV = \ > SYSLOGNG_AUTOCONF = \ > $(CROSS_AUTOCONF_USR) \ > --localstatedir=/var/run \ > + --with-module-dir=/usr/$(CROSS_LIB_DIR)/syslog-ng \ > + --with-module-path=/usr/$(CROSS_LIB_DIR)/syslog-ng \ > --enable-forced-server-mode \ > --disable-debug \ > --enable-force-gnu99 \ > @@ -99,7 +101,7 @@ $(STATEDIR)/syslogng.install: > @$(call targetinfo) > @$(call world/install, SYSLOGNG) > # # test plugins, not needed on the target > - @rm -r "$(SYSLOGNG_PKGDIR)/usr/lib/syslog-ng/loggen" > + @rm -r "$(SYSLOGNG_PKGDIR)/usr/$(CROSS_LIB_DIR)/syslog-ng/loggen" > @$(call touch) > > > @@ -122,7 +124,7 @@ $(STATEDIR)/syslogng.targetinstall: > @$(call install_lib, syslogng, 0, 0, 0644, libsyslog-ng-$(SYSLOG_LIBVERSION)) > @$(call install_lib, syslogng, 0, 0, 0644, libevtlog-$(SYSLOG_LIBVERSION)) > @$(call install_lib, syslogng, 0, 0, 0644, libsecret-storage) > - @$(call install_glob, syslogng, 0, 0, -, /usr/lib/syslog-ng, *.so) > + @$(call install_glob, syslogng, 0, 0, -, /usr/$(CROSS_LIB_DIR)/syslog-ng, *.so) > > # # config > ifdef PTXCONF_SYSLOGNG_CONFIG > -- > 2.30.2 > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de > -- 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