* [ptxdist] two earlier requests
@ 2013-09-05 11:12 Henrik.Kraft
2013-09-06 7:13 ` Jürgen Beisert
2013-09-06 9:24 ` Jürgen Beisert
0 siblings, 2 replies; 6+ messages in thread
From: Henrik.Kraft @ 2013-09-05 11:12 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 601 bytes --]
Sorry I missed the answer to my 1st request from 31.07. on 16.8.2013 but it does not really satisfy me because as I mentioned in my request the step @$(call touch) is performed with every step in [package].make.
For the second message from 22.8. I will try to explain what happens with the qjson package.
- step Download works
- step extract works
- step prepare works
- step install does not work:
the library is created but not put in the right places (/usr/lib)
kind regards
Henrik Kraft
z.Zt. Heidolph GmbH & Co. KG
Walpersdorfer Str. 12
91126 Schwabach
09122 - 99 20 - 58
[-- Attachment #1.2: Type: text/html, Size: 3711 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] two earlier requests
2013-09-05 11:12 [ptxdist] two earlier requests Henrik.Kraft
@ 2013-09-06 7:13 ` Jürgen Beisert
2013-09-06 9:24 ` Jürgen Beisert
1 sibling, 0 replies; 6+ messages in thread
From: Jürgen Beisert @ 2013-09-06 7:13 UTC (permalink / raw)
To: ptxdist; +Cc: Henrik.Kraft
Hi Henrik,
On Thursday 05 September 2013 13:12:06 Henrik.Kraft@heidolph.de wrote:
> Sorry I missed the answer to my 1st request from 31.07. on 16.8.2013 but it
> does not really satisfy me because as I mentioned in my request the step
> @$(call touch) is performed with every step in [package].make.
Sorry, it is always hard to guess if user only provides snippets only. You
should show us the full *.in and *.make file.
> For the second message from 22.8. I will try to explain what happens with
> the qjson package. - step Download works
> - step extract works
> - step prepare works
What about "compile"?
> - step install does not work:
> the library is created but not put in the right places (/usr/lib)
What step fails? "install" or "targetinstall"?
Can you provide the logfile?
Regards,
Juergen
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] two earlier requests
2013-09-05 11:12 [ptxdist] two earlier requests Henrik.Kraft
2013-09-06 7:13 ` Jürgen Beisert
@ 2013-09-06 9:24 ` Jürgen Beisert
1 sibling, 0 replies; 6+ messages in thread
From: Jürgen Beisert @ 2013-09-06 9:24 UTC (permalink / raw)
To: ptxdist; +Cc: Henrik.Kraft
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] two earlier requests
@ 2013-09-05 11:17 Pascal K
0 siblings, 0 replies; 6+ messages in thread
From: Pascal K @ 2013-09-05 11:17 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 2290 bytes --]
Please check if you copy the output of you build in the correct way.
it should be similar like this example from TI. Use the projectroot folder
if you havent done it yet.
Best regards,
Pascal
#
----------------------------------------------------------------------------
# Target-Install
#
----------------------------------------------------------------------------
$(STATEDIR)/wl1271.targetinstall:
@$(call targetinfo)
@$(call install_init, wl1271)
@$(call install_fixup,wl1271,PRIORITY,optional)
@$(call install_fixup,wl1271,SECTION,base)
@$(call install_fixup,wl1271,AUTHOR,"Steve Schefter <steve@scheftech.com>")
@$(call install_fixup,wl1271,DESCRIPTION,missing)
@$(call install_copy, wl1271, 0, 0, 0644, \
$(PTXDIST_WORKSPACE)/projectroot/etc/wpa_supplicant.conf, \
/etc/wpa_supplicant.conf)
@$(call install_copy, wl1271, 0, 0, 0755, \
$(PTXDIST_WORKSPACE)/projectroot/lib/firmware/ti-connectivity/wl127x-fw-3.bin,
\
/lib/firmware/ti-connectivity/wl127x-fw-3.bin)
@$(call install_copy, wl1271, 0, 0, 0755, \
$(PTXDIST_WORKSPACE)/projectroot/lib/firmware/ti-connectivity/wl1271-nvs.bin,
\
/lib/firmware/ti-connectivity/wl1271-nvs.bin)
@$(call install_copy, wl1271, 0, 0, 0755, \
$(PTXDIST_WORKSPACE)/projectroot/etc/init.d/wifi, \
/etc/init.d/wifi)
@$(call install_link, wl1271, ../init.d/wifi, /etc/rc.d/S30wifi)
@$(call install_finish,wl1271)
@$(call touch)
2013/9/5 <Henrik.Kraft@heidolph.de>
> Sorry I missed the answer to my 1st request from 31.07. on 16.8.2013 but
> it does not really satisfy me because as I mentioned in my request the step
> @$(call touch) is performed with every step in [package].make.****
>
> ** **
>
> For the second message from 22.8. I will try to explain what happens with
> the qjson package.****
>
> - step Download works****
>
> - step extract works****
>
> - step prepare works****
>
> - step install does not work:****
>
> the library is created but not put in the right places (/usr/lib)****
>
> ** **
>
> kind regards****
>
> ** **
>
> Henrik Kraft****
>
> z.Zt. Heidolph GmbH & Co. KG****
>
> Walpersdorfer Str. 12****
>
> 91126 Schwabach****
>
> 09122 – 99 20 - 58****
>
> ** **
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
>
>
[-- Attachment #1.2: Type: text/html, Size: 5176 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ptxdist] two earlier requests
@ 2013-09-05 5:59 Henrik.Kraft
2013-09-05 10:22 ` Jürgen Beisert
0 siblings, 1 reply; 6+ messages in thread
From: Henrik.Kraft @ 2013-09-05 5:59 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 387 bytes --]
I would like to remind you of two unsolved problems I have with ptxdist:
1st from 31.7.2013 14:07 ptxdist question: why is my package created with every run of ptxdist go even if there was no change.
2nd from 22.08.2013 17:32 qjson compiled but not installed.
kind regards
Henrik Kraft
z.Zt. Heidolph GmbH & Co. KG
Walpersdorfer Str. 12
91126 Schwabach
09122 - 99 20 - 58
[-- Attachment #1.2: Type: text/html, Size: 3073 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] two earlier requests
2013-09-05 5:59 Henrik.Kraft
@ 2013-09-05 10:22 ` Jürgen Beisert
0 siblings, 0 replies; 6+ messages in thread
From: Jürgen Beisert @ 2013-09-05 10:22 UTC (permalink / raw)
To: ptxdist; +Cc: Henrik.Kraft
Hi Henrik,
On Thursday 05 September 2013 07:59:54 Henrik.Kraft@heidolph.de wrote:
> I would like to remind you of two unsolved problems I have with ptxdist:
This is a community mailing list. ;)
> 1st from 31.7.2013 14:07 ptxdist question: why is my package created with
> every run of ptxdist go even if there was no change.
You got an answer, did you read it?
> 2nd from 22.08.2013 17:32 qjson compiled but not installed.
Seems nobody has understood your issue (including me).
Regards,
Juergen
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-09-06 9:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-05 11:12 [ptxdist] two earlier requests Henrik.Kraft
2013-09-06 7:13 ` Jürgen Beisert
2013-09-06 9:24 ` Jürgen Beisert
-- 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox