Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Custom automake arguments
@ 2011-10-25 13:15 Allan Nielsen
  2011-10-26 22:10 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Allan Nielsen @ 2011-10-25 13:15 UTC (permalink / raw)
  To: buildroot

Hi

Is it possible to parse custom package specifick arguments to automake
(run'ed through autorecong)

I have tried this, but it does not seem to work:
foo-configure: override AUTOMAKE:=$(HOST_DIR)/usr/bin/automake
$(FOO_AUTOMAKE_FLAGS)

Best Regards
Allan W. Nielsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20111025/aecd022b/attachment.html>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Custom automake arguments
  2011-10-25 13:15 [Buildroot] Custom automake arguments Allan Nielsen
@ 2011-10-26 22:10 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2011-10-26 22:10 UTC (permalink / raw)
  To: buildroot

On Tuesday, October 25, 2011 15:15:42 Allan Nielsen wrote:
> Hi
> 
> Is it possible to parse custom package specifick arguments to automake
> (run'ed through autorecong)
> 
> I have tried this, but it does not seem to work:
> foo-configure: override AUTOMAKE:=$(HOST_DIR)/usr/bin/automake
> $(FOO_AUTOMAKE_FLAGS)
> 
> Best Regards
> Allan W. Nielsen

 I'm not entirely sure what you mean.  However, if you just want to specify 
arguments to autoreconf:  autoreconf is called as

$(AUTORECONF) $($(PKG)_AUTORECONF_OPT)

 so set FOO_AUTORECONF_OPT before calling AUTOTARGETS to override the default 
(which is empty).

 However, if you want to run automake instead of autoreconf, that's not really 
supported.  You could hack away using overrides, but probably it's much 
cleaner to do something like:

define FOO_AUTOMAKE_HOOK
   $(HOST_DIR)/usr/bin/automake $(FOO_AUTOMAKE_FLAGS)
endef
FOO_PRE_CONFIGURE_HOOKS += FOO_AUTOMAKE_HOOK
FOO_DEPENDENCIES += host-automake


 Regards,
 Arnout


-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  31BB CF53 8660 6F88 345D  54CC A836 5879 20D7 CF43

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-26 22:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-25 13:15 [Buildroot] Custom automake arguments Allan Nielsen
2011-10-26 22:10 ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox