From: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
To: buildroot@busybox.net
Subject: [Buildroot] [RFC] Fix Makefile.autotools.in target installation rule
Date: Mon, 28 Jul 2008 14:05:54 +0200 [thread overview]
Message-ID: <1217246754.7955.20.camel@localhost> (raw)
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
reply other threads:[~2008-07-28 12:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1217246754.7955.20.camel@localhost \
--to=hans-christian.egtvedt@atmel.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox