package/tvheadend: Rework CFLAGS handling for liburiparser
PATCH 1/3 package/tvheadend: Rework CFLAGS handling for liburiparser
Suggested by Thomas:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/100646
--- package/tvheadend/tvheadend.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
package/tvheadend/tvheadend.mk +3 -2
@@ -32,9 +32,10 @@ ifeq ($(BR2_PACKAGE_LIBICONV),y) TVHEADEND_DEPENDENCIES += libiconv endif +TVHEADEND_CFLAGS = $(TARGET_CFLAGS) ifeq ($(BR2_PACKAGE_LIBURIPARSER),y) TVHEADEND_DEPENDENCIES += liburiparser -TVHEADEND_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) $(if $(BR2_USE_WCHAR),,-DURI_NO_UNICODE)" +TVHEADEND_CFLAGS += $(if $(BR2_USE_WCHAR),,-DURI_NO_UNICODE) endif TVHEADEND_DEPENDENCIES += dtv-scan-tables
@@ -43,7 +44,7 @@ define TVHEADEND_CONFIGURE_CMDS (cd $(@D); \ $(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_ARGS) \ - $(TVHEADEND_CONF_ENV) \ + CFLAGS="$(TVHEADEND_CFLAGS)" \ ./configure \ --prefix=/usr \ --arch="$(ARCH)" \
Signature · 1 line
1.7.10.4
PATCH 2/3 package/tvheadend: Fix inclusion of DVB frequency tables in bundled build
--- package/tvheadend/tvheadend.mk | 3 +++ 1 file changed, 3 insertions(+)
package/tvheadend/tvheadend.mk +3 -0
@@ -58,6 +58,9 @@ define TVHEADEND_CONFIGURE_CMDS endef define TVHEADEND_BUILD_CMDS + $(INSTALL) -d $(@D)/data/dvb-scan + cp -r $(TARGET_DIR)/usr/share/dvb/* $(@D)/data/dvb-scan/ + touch $(@D)/data/dvb-scan/.stamp $(MAKE) -C $(@D) endef
Signature · 1 line
1.7.10.4
PATCH 2/3 package/tvheadend: Fix inclusion of DVB frequency tables in bundled build
Dear Bernd Kuhls,
Quoted 11 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>--- package/tvheadend/tvheadend.mk | 3 +++ 1 file changed, 3 insertions(+)package/tvheadend/tvheadend.mk +0
-0
package/tvheadend/tvheadend.mk define TVHEADEND_CONFIGURE_CMDS · line 65
Quoted 8 lines
package/tvheadend/tvheadend.mk +3
-0@@ -58,6 +58,9 @@ define TVHEADEND_CONFIGURE_CMDS endef define TVHEADEND_BUILD_CMDS + $(INSTALL) -d $(@D)/data/dvb-scan + cp -r $(TARGET_DIR)/usr/share/dvb/* $(@D)/data/dvb-scan/ + touch $(@D)/data/dvb-scan/.stamp $(MAKE) -C $(@D) endef
This probably needs a little comment in the code.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 3/3 package/tvheadend: Bump version
In reply to Bernd Kuhls--- package/tvheadend/tvheadend.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/tvheadend/tvheadend.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -TVHEADEND_VERSION = fcd16fa0d835d7fd4f57c350ed8b76350440c68c +TVHEADEND_VERSION = 5ba389bd863cf144bdbdfc0e543a7c73470f0610 TVHEADEND_SITE = $(call github,tvheadend,tvheadend,$(TVHEADEND_VERSION)) TVHEADEND_LICENSE = GPLv3+ TVHEADEND_LICENSE_FILES = LICENSE.md
Signature · 1 line
1.7.10.4
PATCH 1/3 package/tvheadend: Rework CFLAGS handling for liburiparser
In reply to Bernd KuhlsBernd, All,
On 2014-12-06 16:00 +0100, Bernd Kuhls spake thusly:
Quoted 4 lines
Suggested by Thomas:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/100646Signed-off-by Bernd Kuhls <[email protected]>
Regards,
Yann E. MORIN.
Quoted 36 lines
--- package/tvheadend/tvheadend.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)package/tvheadend/tvheadend.mk +3
-2@@ -32,9 +32,10 @@ ifeq ($(BR2_PACKAGE_LIBICONV),y) TVHEADEND_DEPENDENCIES += libiconv endif +TVHEADEND_CFLAGS = $(TARGET_CFLAGS) ifeq ($(BR2_PACKAGE_LIBURIPARSER),y) TVHEADEND_DEPENDENCIES += liburiparser -TVHEADEND_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) $(if $(BR2_USE_WCHAR),,-DURI_NO_UNICODE)" +TVHEADEND_CFLAGS += $(if $(BR2_USE_WCHAR),,-DURI_NO_UNICODE) endif TVHEADEND_DEPENDENCIES += dtv-scan-tables@@ -43,7 +44,7 @@ define TVHEADEND_CONFIGURE_CMDS (cd $(@D); \ $(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_ARGS) \ - $(TVHEADEND_CONF_ENV) \ + CFLAGS="$(TVHEADEND_CFLAGS)" \ ./configure \ --prefix=/usr \ --arch="$(ARCH)" \Signature · 6 lines
1.7.10.4 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | 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. | '------------------------------^-------^------------------^--------------------'
Thomas Petazzoni
AppliedPATCH 1/3 package/tvheadend: Rework CFLAGS handling for liburiparser
In reply to Bernd KuhlsDear Bernd Kuhls,
Quoted 7 lines · Bernd Kuhls
Suggested by Thomas:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/100646Signed-off-by Bernd Kuhls <[email protected]>--- package/tvheadend/tvheadend.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Applied, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com