[Buildroot] advice on makefile
Nigel Kukard
nkukard at lbsd.net
Thu Apr 10 14:11:59 UTC 2008
> Nigel> Problem is I don't want to depend on the fixed library names
> Nigel> .... would you suggest I depend on
> Nigel> $(STAGING_DIR)/usr/lib/libbeecrypt.so ... etc?
>
> Yes, but that breaks parallel builds. You have to tell make that it
> cannot start the configure step until those other libraries are
> installed into STAGING_DIR.
>
> I know that the current approach of having to hardcode the file name
> used in the library .mk isn't really nice. We should probably come up
> with an agreement regarding a fixed target name / file for libraries
> to clean this up. Notice that this has to be a physical file name as a
> PHONY target like <package>-staging-install always will be considered
> out-of-date, so the configure target will rerun everytime you run
> make.
What is going on in libxml2.mk? I need to add libxml as one of the
deps :)
-N
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20080410/5fcd2c45/attachment-0001.asc>
More information about the buildroot
mailing list