From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 27 May 2021 08:47:38 +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 1lm9nu-0002uC-AJ for lore@lore.pengutronix.de; Thu, 27 May 2021 08:47:38 +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 1lm9nu-0001iB-2H; Thu, 27 May 2021 08:47:38 +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 1lm9mF-0005z0-20; Thu, 27 May 2021 08:45:55 +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 1lm9mE-0006Vi-Gu; Thu, 27 May 2021 08:45:54 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lm9mE-00Gy2c-G8; Thu, 27 May 2021 08:45:54 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Thu, 27 May 2021 08:45:54 +0200 Message-Id: <20210527064554.4044003-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210519101328.16225-1-christian.melki@t2data.com> References: <20210519101328.16225-1-christian.melki@t2data.com> MIME-Version: 1.0 Subject: Re: [ptxdist] [APPLIED] libcap.make: Make library installation follow CROSS_LIB_DIR 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: Christian Melki 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 Thanks, applied as 39334547d5f61b2d10cbfbaf2588e99738d38e84. Michael [sent from post-receive hook] On Thu, 27 May 2021 08:45:54 +0200, Christian Melki wrote: > Signed-off-by: Christian Melki > Message-Id: <20210519101328.16225-1-christian.melki@t2data.com> > Signed-off-by: Michael Olbrich > > diff --git a/rules/libcap.make b/rules/libcap.make > index 45f09d97f538..cdc44dfe0071 100644 > --- a/rules/libcap.make > +++ b/rules/libcap.make > @@ -30,7 +30,7 @@ LIBCAP_LICENSE_FILES := file://License;md5=3f84fd6f29d453a56514cb7e4ead25f1 > # ---------------------------------------------------------------------------- > > LIBCAP_MAKE_OPT := \ > - prefix=/usr lib=lib \ > + prefix=/usr lib=$(CROSS_LIB_DIR) \ > CC=$(CROSS_CC) \ > BUILD_CC=$(HOSTCC) \ > DYNAMIC=yes \ > @@ -61,7 +61,7 @@ $(STATEDIR)/libcap.targetinstall: > @$(call install_lib, libcap, 0, 0, 0644, libcap) > ifdef PTXCONF_GLOBAL_PAM > @$(call install_copy, libcap, 0, 0, 0755, -, \ > - /usr/lib/security/pam_cap.so) > + /usr/$(CROSS_LIB_DIR)/security/pam_cap.so) > endif > ifdef PTXCONF_LIBCAP_SETCAP > @$(call install_copy, libcap, 0, 0, 0755, -, /usr/sbin/setcap) _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de