Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Marcus Folkesson <marcus.folkesson@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] libselinux: add patch to make the build process more standard
Date: Wed, 17 Jan 2018 10:06:47 +0100	[thread overview]
Message-ID: <20180117090647.GA886@gmail.com> (raw)
In-Reply-To: <20180116234426.4d2433c0@windsurf>

Hi,

On Tue, Jan 16, 2018 at 11:44:26PM +0100, Thomas Petazzoni wrote:
> Hello,
> 
> On Tue, 16 Jan 2018 09:21:53 +0100, Marcus Folkesson wrote:
> > Patch the Makefiles to make PREFIX and DESTDIR follow standard
> > semantics to get rid of DESTDIR during compile time in
> > libselinux.mk and generate proper pkg-config files.
> > 
> > Fixes:
> >  http://autobuild.buildroot.net/results/74d27370c7623e89e401203a485193340e992e7c/
> > 
> > Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
> > ---
> >  ...build-follow-standard-semantics-for-DESTD.patch | 137 +++++++++++++++++++++
> >  package/libselinux/0003-revert-ln-relative.patch   |  24 ----
> >  package/libselinux/0004-revert-ln-relative.patch   |  24 ++++
> >  package/libselinux/libselinux.mk                   |   8 +-
> >  4 files changed, 163 insertions(+), 30 deletions(-)
> >  create mode 100644 package/libselinux/0003-libselinux-build-follow-standard-semantics-for-DESTD.patch
> >  delete mode 100644 package/libselinux/0003-revert-ln-relative.patch
> >  create mode 100644 package/libselinux/0004-revert-ln-relative.patch
> 
> Applied to master, thanks. Thanks a lot for working on this!
> 
> Besides the 3 packages you already fixed, there is also selinux-python
> that still uses DESTDIR during the build process.
> 
> Also, could you submit your 3 patches (libselinux, libsepol and
> libsemanage) to the upstream SELinux project? We really would like to
> see these being adopted by the upstream project.

I have reworked all Makefiles in the SELinux project (including
selinux-python), all patches is submitted upstreams and under review.

OK, I will add the patch for selinux-python package aswell.


> 
> Thanks!
> 
> Thomas
> -- 
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com


Best regards
Marcus Folkesson

      reply	other threads:[~2018-01-17  9:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-16  8:21 [Buildroot] [PATCH] libselinux: add patch to make the build process more standard Marcus Folkesson
2018-01-16 22:44 ` Thomas Petazzoni
2018-01-17  9:06   ` Marcus Folkesson [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=20180117090647.GA886@gmail.com \
    --to=marcus.folkesson@gmail.com \
    --cc=buildroot@busybox.net \
    /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