mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 16:07:42 +00:00
package/powertop: needs gettextize, 2nd try
If host-gettext was compiled before powertop it is picked up by autoreconf which leads to a broken compile. To fix this unconditionally include host-gettext as dependency and move POWERTOP_GETTEXTIZE = YES outside the if-clause for BR2_NEEDS_GETTEXT Fixes http://autobuild.buildroot.net/results/24e/24e312271cf07a8dd966b43f153a06ddc858a786/ http://autobuild.buildroot.net/results/511/511a1c76bfd0ebf637e5abcd6fecc4d6a683ed3e/ http://autobuild.buildroot.net/results/652/65246f6f71e67c2637efbe8bb6e501750629d5fb/ and many others Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
314f0ef16c
commit
5f0127bbea
@ -6,14 +6,14 @@
|
|||||||
|
|
||||||
POWERTOP_VERSION = 2.7
|
POWERTOP_VERSION = 2.7
|
||||||
POWERTOP_SITE = https://01.org/sites/default/files/downloads/powertop/
|
POWERTOP_SITE = https://01.org/sites/default/files/downloads/powertop/
|
||||||
POWERTOP_DEPENDENCIES = pciutils ncurses libnl host-pkgconf
|
POWERTOP_DEPENDENCIES = pciutils ncurses libnl host-gettext host-pkgconf
|
||||||
POWERTOP_LICENSE = GPLv2
|
POWERTOP_LICENSE = GPLv2
|
||||||
POWERTOP_LICENSE_FILES = COPYING
|
POWERTOP_LICENSE_FILES = COPYING
|
||||||
# We're patching Makefile.am
|
# We're patching Makefile.am
|
||||||
POWERTOP_AUTORECONF = YES
|
POWERTOP_AUTORECONF = YES
|
||||||
|
POWERTOP_GETTEXTIZE = YES
|
||||||
|
|
||||||
ifeq ($(BR2_NEEDS_GETTEXT),y)
|
ifeq ($(BR2_NEEDS_GETTEXT),y)
|
||||||
POWERTOP_GETTEXTIZE = YES
|
|
||||||
POWERTOP_DEPENDENCIES += gettext
|
POWERTOP_DEPENDENCIES += gettext
|
||||||
POWERTOP_CONF_ENV += LIBS='-lintl'
|
POWERTOP_CONF_ENV += LIBS='-lintl'
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user