[Buildroot] [RFC] Fix Makefile.autotools.in target installation rule
hans-christian.egtvedt at atmel.com
Mon Jul 28 12:05:54 UTC 2008
This is a first try to fix the Makefile.autotools.in target installation
rule. It works by adding a new variable which should be defined for each
If the variable is not defined (like all packages today), the Makefile
will fallback to the old way of doing it.
There is an example for the popt package in the patch included.
POPT_INSTALL_TARGET_FILE = /usr/lib/libpopt.so
The really ugly redundant target install rule was the only way I managed
to get it working. ifeq/ifdef did not work, because I think the $(PKG)
variable is defined later?
I am no Makefile magician ;)
With kind regards,
Hans-Christian Egtvedt, Applications Engineer
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2681 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/buildroot/attachments/20080728/fae94e2d/attachment-0002.bin
More information about the buildroot