All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [RFC] Fix Makefile.autotools.in target installation rule
@ 2008-07-28 12:05 Hans-Christian Egtvedt
  0 siblings, 0 replies; only message in thread
From: Hans-Christian Egtvedt @ 2008-07-28 12:05 UTC (permalink / raw)
  To: buildroot

Hi,

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
package.

FOO_INSTALL_TARGET_FILE

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

Comments?

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...
Name: fix-target-installation-using-makefile.autotools.in.patch
Type: text/x-patch
Size: 2681 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20080728/fae94e2d/attachment.bin 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-28 12:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-28 12:05 [Buildroot] [RFC] Fix Makefile.autotools.in target installation rule Hans-Christian Egtvedt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.