mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Jürgen Beisert" <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: "Schenk, Gavin" <G.Schenk@eckelmann.de>
Subject: Re: [ptxdist] qmake broken after ptxdist version switch?
Date: Wed, 4 Dec 2013 09:37:24 +0100	[thread overview]
Message-ID: <201312040937.24057.jbe@pengutronix.de> (raw)
In-Reply-To: <D415CD2EC4182C4EAB90A76B7D9F16DCEADEE819@EX-DAG02.eckelmann.group>

Hi Gavin,

On Wednesday 04 December 2013 08:52:57 Schenk, Gavin wrote:
> [...]
> Here an example of an target step.
>
> $(STATEDIR)/qextserialport.install:
>         @$(call targetinfo)
>         cp $(QEXTSERIALPORT_DIR)/src/build/libqextserialport.so.1.2.0 $(PTXDIST_SYSROOT_TARGET)/usr/lib/
>         ln -f -s libqextserialport.so.1.2.0 $(PTXDIST_SYSROOT_TARGET)/usr/lib/libqextserialport.so.1.2
>         ln -f -s libqextserialport.so.1.2.0 $(PTXDIST_SYSROOT_TARGET)/usr/lib/libqextserialport.so.1
>         ln -f -s libqextserialport.so.1.2.0 $(PTXDIST_SYSROOT_TARGET)/usr/lib/libqextserialport.so
>
>         mkdir -p $(PTXDIST_SYSROOT_TARGET)/usr/include/qextserialport
>
>         cp $(QEXTSERIALPORT_DIR)/src/*.h $(PTXDIST_SYSROOT_TARGET)/usr/include/qextserialport/
>
>         @$(call touch)
>
> @Gurus: Is there a better, smarter way to achive this, like install_lib?

If the library's buildsystem is based on the autotools, it will
work "magically" as well...

$ ptxdist newpackage src-autoconf-lib

provides such a package.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2013-12-04  8:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-21  9:55 Markus Wolters
2013-10-21 10:39 ` Jürgen Beisert
2013-10-21 11:19   ` Markus Wolters
2013-10-21 13:26     ` Tim Sander
2013-10-24  8:49       ` Michael Olbrich
2013-10-24 12:10         ` Markus Wolters
2013-10-24 22:11           ` Michael Olbrich
2013-10-26 12:14             ` Markus Wolters
2013-10-28  8:18               ` Schenk, Gavin
2013-11-04  7:38                 ` Markus Wolters
2013-11-04  8:17                   ` Schenk, Gavin
2013-12-03  8:37                 ` Markus Wolters
2013-12-04  7:52                   ` Schenk, Gavin
2013-12-04  8:37                     ` Jürgen Beisert [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=201312040937.24057.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=G.Schenk@eckelmann.de \
    --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