Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] crda: bump to version 3.13
Date: Wed, 25 Jun 2014 23:32:07 +0200	[thread overview]
Message-ID: <87a990smjs.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1403631190-9354-1-git-send-email-gustavo@zacarias.com.ar> (Gustavo Zacarias's message of "Tue, 24 Jun 2014 14:33:10 -0300")

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 > ---
 >  ...d-DESTDIR-support-in-install-libreg-rules.patch | 37 ++++++++++++++++++++++
 >  package/crda/crda.mk                               |  6 ++--
 >  2 files changed, 40 insertions(+), 3 deletions(-)
 >  create mode 100644 package/crda/crda-0002-Add-DESTDIR-support-in-install-libreg-rules.patch

 > diff --git a/package/crda/crda-0002-Add-DESTDIR-support-in-install-libreg-rules.patch b/package/crda/crda-0002-Add-DESTDIR-support-in-install-libreg-rules.patch
 > new file mode 100644
 > index 0000000..ab25b38
 > --- /dev/null
 > +++ b/package/crda/crda-0002-Add-DESTDIR-support-in-install-libreg-rules.patch
 > @@ -0,0 +1,37 @@
 > +From 2cabb2588da56735369131b709f191453c080be0 Mon Sep 17 00:00:00 2001
 > +From: "John W. Linville" <linville@tuxdriver.com>
 > +Date: Fri, 14 Feb 2014 13:58:44 -0500
 > +Subject: [PATCH 1/4] crda: Add DESTDIR support in install-libreg* rules in
 > + Makefile
 > +
 > +Signed-off-by: John W. Linville <linville@tuxdriver.com>
 > +Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
 > +---
 > + Makefile | 8 ++++----
 > + 1 file changed, 4 insertions(+), 4 deletions(-)
 > +
 > +diff --git a/Makefile b/Makefile
 > +index 0b2f0d7..1f25509 100644
 > +--- a/Makefile
 > ++++ b/Makefile
 > +@@ -120,13 +120,13 @@ $(LIBREG): regdb.h reglib.h reglib.c
 > + 
 > + install-libreg-headers:
 > + 	$(NQ) '  INSTALL  libreg-headers'
 > +-	$(Q)mkdir -p $(INCLUDE_DIR)
 > +-	$(Q)cp *.h $(INCLUDE_DIR)/
 > ++	$(Q)mkdir -p $(DESTDIR)/$(INCLUDE_DIR)
 > ++	$(Q)cp *.h $(DESTDIR)/$(INCLUDE_DIR)/
 > + 
 > + install-libreg:
 > + 	$(NQ) '  INSTALL  libreg'
 > +-	$(Q)mkdir -p $(LIBDIR)
 > +-	$(Q)cp $(LIBREG) $(LIBDIR)/
 > ++	$(Q)mkdir -p $(DESTDIR)/$(LIBDIR)
 > ++	$(Q)cp $(LIBREG) $(DESTDIR)/$(LIBDIR)/
 > + 	$(Q)ldconfig

I also dropped the ldconfig call as it otherwise fails here:

 GZIP regdbdump.8
make[1]: ldconfig: Command not found
Makefile:127: recipe for target 'install-libreg' failed
make[1]: *** [install-libreg] Error 127
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/peko/source/buildroot/output/build/crda-3.13'

Perhaps a better fix for upstream is to do ldconfig || true or
something?

Committed with that fixed, thanks.

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2014-06-25 21:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-24 17:33 [Buildroot] [PATCH] crda: bump to version 3.13 Gustavo Zacarias
2014-06-25 21:32 ` Peter Korsgaard [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-06-24 17:31 Gustavo Zacarias

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=87a990smjs.fsf@dell.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --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