mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Christian Melki <christian.melki@t2data.com>
Subject: Re: [ptxdist] [APPLIED] libcap.make: Make library installation follow CROSS_LIB_DIR
Date: Thu, 27 May 2021 08:45:54 +0200	[thread overview]
Message-ID: <20210527064554.4044003-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20210519101328.16225-1-christian.melki@t2data.com>

Thanks, applied as 39334547d5f61b2d10cbfbaf2588e99738d38e84.

Michael

[sent from post-receive hook]

On Thu, 27 May 2021 08:45:54 +0200, Christian Melki <christian.melki@t2data.com> wrote:
> Signed-off-by: Christian Melki <christian.melki@t2data.com>
> Message-Id: <20210519101328.16225-1-christian.melki@t2data.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> 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


      reply	other threads:[~2021-05-27  6:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-19 10:13 [ptxdist] [PATCH] " Christian Melki
2021-05-27  6:45 ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210527064554.4044003-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=christian.melki@t2data.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox