mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Jürgen Beisert" <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Henrik.Kraft@heidolph.de
Subject: Re: [ptxdist] two earlier requests
Date: Fri, 6 Sep 2013 11:24:16 +0200	[thread overview]
Message-ID: <201309061124.16130.jbe@pengutronix.de> (raw)
In-Reply-To: <5DDDC2AE1D40D045B973C3CAA4D4CCC74FAC4D@HISCMAIL01.HeiLab.loc>

Hi Henrik,

On Friday 06 September 2013 09:19:08 Henrik.Kraft@heidolph.de wrote:
> sorry not to inform you but I have tried allong what pascal suggested
> yesterday and it seems to work so the qjson problem seems to be solved.
> Even I could'nd verify in depth. I had tried to use install_lib instead
> which did not work.
>
> But the other problem with my binary package remains. You may hav a look at
> the [prject].* files.

This skips the install stage:

$(STATEDIR)/heidolph_bin.install:
	@$(call targetinfo)
	@$(call touch)

You should extend your own makefile to provide an install stage and do not skip 
it. But keep in mind using something like

	cp myfile $(DESTDIR)/$(PREFIX)/bin/myfile

to install files.

Same for the library in the package:

        cp mylib.so $(DESTDIR)/$(PREFIX)/lib/mylib.so

(don't forget to create the required links)

with
  DESTDIR :=
  PREFIX := /usr

PTXdist will call your install stage with DESTDIR pointing into 
<platform>/packages/<yourpackagename>. Then you will find all your 
to-be-installed files in <platform>/packages/<yourpackagename>. After that 
calling "install_lib" will work as expected, because it searches for the given 
library in the <platform>/packages/<yourpackagename> path.

Or a much better approach: autotoolize your package and everything will be done 
for you "automagically".

Regards,
Juergen

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

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2013-09-06  9:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-05 11:12 Henrik.Kraft
2013-09-06  7:13 ` Jürgen Beisert
2013-09-06  9:24 ` Jürgen Beisert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-09-05 11:17 Pascal K
2013-09-05  5:59 Henrik.Kraft
2013-09-05 10:22 ` Jürgen Beisert

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=201309061124.16130.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=Henrik.Kraft@heidolph.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