Odp: Kompilacja modułów openwrt - świerzak
Które tvheadend ty kompilujesz? Jaką wersję?
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Inne → Kompilacja modułów openwrt - świerzak
Strony Poprzednia 1 2 3 4 5 6 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
Które tvheadend ty kompilujesz? Jaką wersję?
Tą, którą wysłałeś mi na maila tj. https://dev.openwrt.org/browser/package … /tvheadend
Update:// Odznaczyłem w menuconfig tvheadend. Kompilacja systemu przebiegła wg. mnie pomyślnie. Ponownie chciałem skompilować tvheadend i otrzymałem:
bartekk@Linux-PC /opt/attitude_adjustment $ make package/tvheadend/compile V=s
make[1]: Entering directory `/opt/attitude_adjustment'
make[2]: Entering directory `/opt/attitude_adjustment/package/toolchain'
WARNING: skipping libssp -- package not selected
WARNING: skipping libstdcpp -- package not selected
WARNING: skipping libgfortran -- package not selected
WARNING: skipping ldd -- package not selected
WARNING: skipping ldconfig -- package not selected
make[2]: Leaving directory `/opt/attitude_adjustment/package/toolchain'
make[2]: Entering directory `/opt/attitude_adjustment/package/ocf-crypto-headers'
make[2]: Leaving directory `/opt/attitude_adjustment/package/ocf-crypto-headers'
make[2]: Entering directory `/opt/attitude_adjustment/package/zlib'
make[2]: Leaving directory `/opt/attitude_adjustment/package/zlib'
make[2]: Entering directory `/opt/attitude_adjustment/package/openssl'
WARNING: skipping openssl-util -- package not selected
make[2]: Leaving directory `/opt/attitude_adjustment/package/openssl'
make[2]: Entering directory `/opt/attitude_adjustment/package/tvheadend'
WARNING: skipping tvheadend -- package not selected
make[2]: Leaving directory `/opt/attitude_adjustment/package/tvheadend'
make[1]: Leaving directory `/opt/attitude_adjustment'Jak nie jest zaznaczone to się nie skompiluje.
Ponownie wpisałem make menuconfig, w multimedia zaznaczyłem tvheadend, dalem exit, save. Wpisałem ponownie make package/tvheadend/compile V=s i mam
bartekk@Linux-PC /opt/attitude_adjustment $ make package/tvheadend/compile V=s
make[1]: Entering directory `/opt/attitude_adjustment'
make[2]: Entering directory `/opt/attitude_adjustment/package/toolchain'
WARNING: skipping libssp -- package not selected
WARNING: skipping libstdcpp -- package not selected
WARNING: skipping libgfortran -- package not selected
WARNING: skipping ldd -- package not selected
WARNING: skipping ldconfig -- package not selected
make[2]: Leaving directory `/opt/attitude_adjustment/package/toolchain'
make[2]: Entering directory `/opt/attitude_adjustment/package/ocf-crypto-headers'
make[2]: Leaving directory `/opt/attitude_adjustment/package/ocf-crypto-headers'
make[2]: Entering directory `/opt/attitude_adjustment/package/zlib'
make[2]: Leaving directory `/opt/attitude_adjustment/package/zlib'
make[2]: Entering directory `/opt/attitude_adjustment/package/openssl'
WARNING: skipping openssl-util -- package not selected
make[2]: Leaving directory `/opt/attitude_adjustment/package/openssl'
make[2]: Entering directory `/opt/attitude_adjustment/package/tvheadend'
CFLAGS="-Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/include -I/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/include -I/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/include " CXXFLAGS="-Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/include -I/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/include -I/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/include " LDFLAGS="-L/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/lib -L/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/lib -L/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/lib -L/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib " make -j1 -C /opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/. AR=arm-openwrt-linux-uclibcgnueabi-ar AS="arm-openwrt-linux-uclibcgnueabi-gcc -c -Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float" LD=arm-openwrt-linux-uclibcgnueabi-ld NM=arm-openwrt-linux-uclibcgnueabi-nm CC="arm-openwrt-linux-uclibcgnueabi-gcc" GCC="arm-openwrt-linux-uclibcgnueabi-gcc" CXX="arm-openwrt-linux-uclibcgnueabi-g++" RANLIB=arm-openwrt-linux-uclibcgnueabi-ranlib STRIP=arm-openwrt-linux-uclibcgnueabi-strip OBJCOPY=arm-openwrt-linux-uclibcgnueabi-objcopy OBJDUMP=arm-openwrt-linux-uclibcgnueabi-objdump SIZE=arm-openwrt-linux-uclibcgnueabi-size CROSS="arm-openwrt-linux-uclibcgnueabi-" ARCH="arm" ;
make[3]: Entering directory `/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2'
arm-openwrt-linux-uclibcgnueabi-gcc -MD -MP -Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/include -I/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/include -I/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/include -Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include -Wall -Werror -Wwrite-strings -Wno-deprecated-declarations -Wmissing-prototypes -fms-extensions -g -funsigned-char -O2 -D_FILE_OFFSET_BITS=64 -I./build.linux -I/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src -I/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2 -c -o build.linux/src/webui/statedump.o /opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c
cc1: note: someone does not honour COPTS correctly, passed 2 times
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c: In function 'dumpchannels':
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:60:3: error: unknown type name 'channel_t'
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: assignment from incompatible pointer type [-Werror]
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:65:39: error: request for member 'ch_name' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:65:52: error: request for member 'ch_id' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:71:8: error: request for member 'ch_refcount' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:72:8: error: request for member 'ch_zombie' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:73:8: error: request for member 'ch_number' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:74:8: error: request for member 'ch_icon' in something not a structure or union
cc1: all warnings being treated as errors
make[3]: *** [build.linux/src/webui/statedump.o] Error 1
make[3]: Leaving directory `/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2'
make[2]: *** [/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/.built] Error 2
make[2]: Leaving directory `/opt/attitude_adjustment/package/tvheadend'
make[1]: *** [package/tvheadend/compile] Error 2
make[1]: Leaving directory `/opt/attitude_adjustment'
make: *** [package/tvheadend/compile] Error 2Czyli to samo. Zmień sobie numer wersji na nowszy.
Potrzebuję więcej wskazówek.
W makefile masz numer wersji - 3.2. Zmień to sobie na taką jak jest teraz i wywal linię z PKG_MD5SUM w ogóle
Witaj, usunąłem linie PKG_MD5SUM, lecz nie wiem jaki dać numer kompilacji
Bez tej lini podczas kompilacji na końcu otrzymuję:
make[3]: *** [build.linux/src/webui/statedump.o] Error 1
make[3]: Leaving directory `/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2'
make[2]: *** [/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/.built] Error 2
make[2]: Leaving directory `/opt/attitude_adjustment/package/tvheadend'
make[1]: *** [package/tvheadend/compile] Error 2
make[1]: Leaving directory `/opt/attitude_adjustment'
make: *** [package/tvheadend/compile] Error 2Update:// Najnowsza to 3.4 i jakiś patch 3.4.27. Gdy wpisuje wersje 3.4 do makefile to otrzymuję:
Download failed.
--2013-10-18 18:27:43-- http://mirror2.openwrt.org/sources/tvheadend-3.4.tar.gz
Resolving mirror2.openwrt.org (mirror2.openwrt.org)... 46.4.11.11
Connecting to mirror2.openwrt.org (mirror2.openwrt.org)|46.4.11.11|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2013-10-18 18:27:44 ERROR 404: Not Found.
Download failed.
--2013-10-18 18:27:44-- http://downloads.openwrt.org/sources/tvheadend-3.4.tar.gz
Resolving downloads.openwrt.org (downloads.openwrt.org)... 78.24.191.177
Connecting to downloads.openwrt.org (downloads.openwrt.org)|78.24.191.177|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2013-10-18 18:27:44 ERROR 404: Not Found.Masz http://ecco.selfip.net/test/Makefile to jest wersja która poprawnie kompiluje się u mnie. Podmień się ten Makefile.
Checking out files from the git repository...
Cloning into 'tvheadend-2b649954346aa2e9c81834d500a25c528f31f829'...
remote: Counting objects: 27484, done.
remote: Compressing objects: 100% (10336/10336), done.
remote: Total 27484 (delta 18841), reused 25447 (delta 16985)
Receiving objects: 100% (27484/27484), 16.25 MiB | 1.05 MiB/s, done.
Resolving deltas: 100% (18841/18841), done.
Note: checking out '2b649954346aa2e9c81834d500a25c528f31f829'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at 2b64995... transcoding: fixed copy & paste error, making it impossible to disable transcoding from the webui once enabled.
Packing checkout...
. /opt/attitude_adjustment/include/shell.sh; gzip -dc /opt/attitude_adjustment/dl/tvheadend-2b649954346aa2e9c81834d500a25c528f31f829.tar.gz | /bin/tar -C /opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-2b649954346aa2e9c81834d500a25c528f31f829/.. -xf -
Applying ./patches/010-SHA1.patch using plaintext:
patching file src/trap.c
Hunk #1 FAILED at 243.
1 out of 1 hunk FAILED -- saving rejects to file src/trap.c.rej
Patch failed! Please fix ./patches/010-SHA1.patch!
make[2]: *** [/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-2b649954346aa2e9c81834d500a25c528f31f829/.prepared_55edbdc8fad142c7cea398f38719cb57] Error 1
make[2]: Leaving directory `/opt/attitude_adjustment/package/tvheadend'
make[1]: *** [package/tvheadend/compile] Error 2
make[1]: Leaving directory `/opt/attitude_adjustment'Coś go boli jeszcze.
Cały katalog patches wywal.
find /opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-2b649954346aa2e9c81834d500a25c528f31f829/ipkg-kirkwood/tvheadend -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package tvheadend is missing dependencies for the following libraries:
libcurl.so.4
make[2]: *** [/opt/attitude_adjustment/bin/kirkwood/packages/tvheadend_"20130903"-2b649954346aa2e9c81834d500a25c528f31f829_kirkwood.ipk] Error 1
make[2]: Leaving directory `/opt/attitude_adjustment/package/tvheadend'
make[1]: *** [package/tvheadend/compile] Error 2
make[1]: Leaving directory `/opt/attitude_adjustment'
make: *** [package/tvheadend/compile] Error 2Coś włączyłeś dodatkowo to dodaj sobie +libcurl do DEPENDS w makefile.
Package tvheadend is missing dependencies for the following libraries:
libcurl.so.4
make[2]: *** [/opt/attitude_adjustment/bin/kirkwood/packages/tvheadend_"20130903"-2b649954346aa2e9c81834d500a25c528f31f829_kirkwood.ipk] Error 1
make[2]: Leaving directory `/opt/attitude_adjustment/package/tvheadend'
make[1]: *** [package/tvheadend/compile] Error 2
make[1]: Leaving directory `/opt/attitude_adjustment'
make: *** [package/tvheadend/compile] Error 2Patrz post #63
W tym makefile jest już dodane libcurl.
Pokaż jak to poprawiłeś.
Makefile nie ruszałem:
include $(TOPDIR)/rules.mk
PKG_NAME:=tvheadend
PKG_DATE:="20130903"
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git://github.com/tvheadend/tvheadend.git
PKG_SOURCE_VERSION:=2b649954346aa2e9c81834d500a25c528f31f829
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
PKG_VERSION:=$(PKG_DATE)-$(PKG_SOURCE_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_SOURCE_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/tvheadend
SECTION:=multimedia
CATEGORY:=Multimedia
TITLE:=Tvheadend is a TV streaming server for Linux
DEPENDS:=+libopenssl +librt +zlib +TVHEADEND_AVAHI_SUPPORT:libavahi-client +libcurl +libffmpeg-0.11 +libdvbcsa
URL:=http://www.lonelycoder.com/hts/tvheadend_overview.html
endef
define Package/tvheadend/description
Tvheadend is a TV streaming server for Linux supporting DVB, ATSC, IPTV,
and Analog video (V4L) as input sources.
Can be used as a backend to Showtime, XBMC and various other clients.
endef
define Package/tvheadend/config
menu "Configuration"
depends on PACKAGE_tvheadend
source "$(SOURCE)/Config.in"
endmenu
endef
ifeq ($(CONFIG_TVHEADEND_CWC_SUPPORT),)
CONFIGURE_ARGS += --disable-cwc
endif
ifeq ($(CONFIG_TVHEADEND_V4L_SUPPORT),)
CONFIGURE_ARGS += --disable-v4l
endif
ifeq ($(CONFIG_TVHEADEND_LINUXDVB_SUPPORT),)
CONFIGURE_ARGS += --disable-linuxdvb
endif
ifeq ($(CONFIG_TVHEADEND_DVBSCAN_SUPPORT),)
CONFIGURE_ARGS += --disable-dvbscan
endif
ifeq ($(CONFIG_TVHEADEND_AVAHI_SUPPORT),)
CONFIGURE_ARGS += --disable-avahi
else
CONFIGURE_ARGS += --enable-avahi
endif
CONFIGURE_ARGS += \
--release \
--enable-bundle \
--enable-dvbcsa
define Package/tvheadend/install
$(INSTALL_DIR) $(1)/etc/tvheadend
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/tvheadend.init $(1)/etc/init.d/tvheadend
$(INSTALL_DIR) $(1)/lib/upgrade/keep.d
$(INSTALL_DATA) ./files/tvheadend.upgrade $(1)/lib/upgrade/keep.d/tvheadend
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/build.linux/tvheadend $(1)/usr/bin/
endef
$(eval $(call BuildPackage,tvheadend))W katalogu tvheadend w package mam katalog files oraz 2 pliki Config.in i Twój Makefile.
No i tu się zaczyna robić ciekawie.
Na pewno nie dla mnie : D Mam jakieś szanse na tvheadend'a na kirkwooda?
Jak pisałem - ja nie kompiluję obecnie tej platformy.
A mogę coś zmienić, żeby udało się to skompilować? Tak na prawdę do szczęścia brakuje mi tylko tego ![]()
Wywal te trzy: +libcurl +libffmpeg-0.11 +libdvbcsa i skompiluj jeszcze raz.
find /opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-2b649954346aa2e9c81834d500a25c528f31f829/ipkg-kirkwood/tvheadend -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package tvheadend is missing dependencies for the following libraries:
libcurl.so.4
make[2]: *** [/opt/attitude_adjustment/bin/kirkwood/packages/tvheadend_"20130903"-2b649954346aa2e9c81834d500a25c528f31f829_kirkwood.ipk] Error 1
make[2]: Leaving directory `/opt/attitude_adjustment/package/tvheadend'
make[1]: *** [package/tvheadend/compile] Error 2
make[1]: Leaving directory `/opt/attitude_adjustment'
make: *** [package/tvheadend/compile] Error 2+
include $(TOPDIR)/rules.mk
PKG_NAME:=tvheadend
PKG_DATE:="20130903"
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git://github.com/tvheadend/tvheadend.git
PKG_SOURCE_VERSION:=2b649954346aa2e9c81834d500a25c528f31f829
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
PKG_VERSION:=$(PKG_DATE)-$(PKG_SOURCE_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_SOURCE_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/tvheadend
SECTION:=multimedia
CATEGORY:=Multimedia
TITLE:=Tvheadend is a TV streaming server for Linux
DEPENDS:=+libopenssl +librt +zlib +TVHEADEND_AVAHI_SUPPORT:libavahi-client
URL:=http://www.lonelycoder.com/hts/tvheadend_overview.html
endef
define Package/tvheadend/description
Tvheadend is a TV streaming server for Linux supporting DVB, ATSC, IPTV,
and Analog video (V4L) as input sources.
Can be used as a backend to Showtime, XBMC and various other clients.
endef
define Package/tvheadend/config
menu "Configuration"
depends on PACKAGE_tvheadend
source "$(SOURCE)/Config.in"
endmenu
endef
ifeq ($(CONFIG_TVHEADEND_CWC_SUPPORT),)
CONFIGURE_ARGS += --disable-cwc
endif
ifeq ($(CONFIG_TVHEADEND_V4L_SUPPORT),)
CONFIGURE_ARGS += --disable-v4l
endif
ifeq ($(CONFIG_TVHEADEND_LINUXDVB_SUPPORT),)
CONFIGURE_ARGS += --disable-linuxdvb
endif
ifeq ($(CONFIG_TVHEADEND_DVBSCAN_SUPPORT),)
CONFIGURE_ARGS += --disable-dvbscan
endif
ifeq ($(CONFIG_TVHEADEND_AVAHI_SUPPORT),)
CONFIGURE_ARGS += --disable-avahi
else
CONFIGURE_ARGS += --enable-avahi
endif
CONFIGURE_ARGS += \
--release \
--enable-bundle \
--enable-dvbcsa
define Package/tvheadend/install
$(INSTALL_DIR) $(1)/etc/tvheadend
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/tvheadend.init $(1)/etc/init.d/tvheadend
$(INSTALL_DIR) $(1)/lib/upgrade/keep.d
$(INSTALL_DATA) ./files/tvheadend.upgrade $(1)/lib/upgrade/keep.d/tvheadend
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/build.linux/tvheadend $(1)/usr/bin/
endef
$(eval $(call BuildPackage,tvheadend))Ciężki przypadek? ![]()
A teraz dodaj samo +libcurl
i zrób make package/tvheadend/clean przed.
Strony Poprzednia 1 2 3 4 5 6 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Inne → Kompilacja modułów openwrt - świerzak
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc