Hi,

On Thu, Mar 31, 2011 at 05:34:03PM +0200, Tim Sander wrote:
> > Hmmm, have you tried the latest ptxdist git? I can create a root.tgz and
> > fwupdate-*.pmx without any problems.
> > Can you send the output of "ptxdist -d images"?
> ptxdist -d is attached. Strangely the root.tgz image has been created. My 
> firmware image has only be created once. Very strange...

found it. It's a problem with the include order of the make files. It only
works like this with ptxdist-2010.11.0, but other stuff is broken there.
Hav a look at:
a1f643c [rules] reverse order when including pre/post rules

With ptxdist-2010.11.0 your rules/post is inclued first, however this means
that you cannot overwrite variables defined there. What you get is:

[...]
images: $(SEL_ROOTFS-y)
        [...]

[...]
SEL_ROOTFS-$(PTXCONF_IMAGE_PMX) += $(IMAGEDIR)/fwupdate-$(PLATFORM_VERSION).pmx
[...]

That doesn't work. If you repeat "images: $(SEL_ROOTFS-y)" somewhere in
your rules/post (after rules/post/image_pmx.make), then it should work.

Regards,
Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
[email protected]

Reply via email to