From: "Dörfler Florian" <Florian.Doerfler@scs.ch>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] Using CMake/CPack install info in targetinstall step
Date: Tue, 2 Jun 2015 13:42:40 +0200 [thread overview]
Message-ID: <E0CB834DD9BF7546A8B709A96E2ECAC301587C489E6A@Exchange.scs-ad.scs.ch> (raw)
In-Reply-To: <20150409085050.GH21218@pengutronix.de>
Hello Michael
Sorry for digging out an older Thread. I just got around to trying out your solution and it almost works (in my ptxdist-2015.02.0). Here's the a fix if anyone else tries this:
> No need for that. platform-<xyz>/packages/<pkg>/ contains all the files installed by "make install", so just use install_tree in targetinstall:
> @$(call install_tree, <pkg>, 0, 0, -, /)
I had to adjust it to:
@$(call install_tree, <pkg>, 0, 0, -, //)
Else I would eventually get the weird error message in the targetinstall step:
...
No suitable file '' could be found in any of these locations:
-.my_platformname
-
...
The suspected reason: The destination directory logic in scripts/lib/ptxd_make_xpkg_pkg.sh:568 removes trailing slashes, which in this case empties the destination, which in turn causes problems later. With my hacky solution only one slash gets removed which leaves the one slash that I want.
Regards
Florian
--
ptxdist mailing list
ptxdist@pengutronix.de
prev parent reply other threads:[~2015-06-02 11:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-08 9:08 Dörfler Florian
2015-04-09 8:50 ` Michael Olbrich
2015-04-09 9:36 ` Dörfler Florian
2015-04-09 9:46 ` Michael Olbrich
2015-06-02 11:42 ` Dörfler Florian [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=E0CB834DD9BF7546A8B709A96E2ECAC301587C489E6A@Exchange.scs-ad.scs.ch \
--to=florian.doerfler@scs.ch \
--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