[Buildroot] adding nut to buildroot

Tilman Glotzner tilmanglotzner at hotmail.com
Sat Jul 30 14:42:29 UTC 2011



 Hello Yann
 
> If that does not work, you may try with:
> NUT_CONF_OPT = --program-transform-name='s/$(GNU_TARGET_NAME)-//;'
Using this option, it worked. Many thanks for that hint. 
 
Can sombody explain me the building process or point me to some documentation ?
1) I understand that a package is build in /output/build/
2) once all packages is compiled, everything seems to end  up in output/image/rootfs.arm.tar somehow.
What are the intermediate steps ?
 
I would like to change the config file coming with nut and replace them with my own. How do I do that ?
 
Thanks
 
Tilman
 
> Tilman, All,
> 
> On Friday 29 July 2011 00:41:13 Tilman Glotzner wrote:
> > The executables installed in the image are prefixed by the cross
> > compiler, e.g. apcsmart becomes arm-linux-apcsmart
> [--SNIP--]
> > nut.mk
> > =====
> > 
> > #############################################################
> > #
> > # nut
> > #
> > #############################################################
> > NUT_VERSION = 2.6.1
> > NUT_SOURCE = nut-$(NUT_VERSION).tar.gz
> > NUT_SITE = http://www.networkupstools.org/source/2.6/
> > NUT_INSTALL_STAGING = NO
> > NUT_INSTALL_TARGET = YES
> > NUT_LIBTOOL_PATCH = NO
> > 
> > $(eval $(call AUTOTARGETS,package,nut))
> > 
> > Can you kindly advise how to debug or fix it ?
> 
> Try adding:
> NUT_CONF_OPT = --program-prefix=''
> 
> If that does not work, you may try with:
> NUT_CONF_OPT = --program-transform-name='s/$(GNU_TARGET_NAME)-//;'
> 
> Regards,
> Yann E. MORIN.
> 
> -- 
> .-----------------.--------------------.------------------.--------------------.
> | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
> | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
> '------------------------------^-------^------------------^--------------------'
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110730/4e45259c/attachment-0002.html>


More information about the buildroot mailing list