[Buildroot] adding nut to buildroot

Yann E. MORIN yann.morin.1998 at anciens.enib.fr
Fri Jul 29 18:17:33 UTC 2011


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.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list