initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
Fix musl build
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
diff -uNr w_scan-20141122.org/descriptors.h w_scan-20141122/descriptors.h
--- w_scan-20141122.org/descriptors.h 2014-11-22 09:49:26.000000000 +0100
+++ w_scan-20141122/descriptors.h 2016-01-24 14:05:21.000000000 +0100
@@ -28,6 +28,7 @@
#ifndef __DESCRIPTORS_H__
#define __DESCRIPTORS_H__
+#include <time.h>
#include "extended_frontend.h"
/******************************************************************************
diff -uNr w_scan-20141122.org/version.h w_scan-20141122/version.h
--- w_scan-20141122.org/version.h 2014-11-22 11:59:56.000000000 +0100
+++ w_scan-20141122/version.h 2016-01-24 14:06:33.000000000 +0100
@@ -1,6 +1,6 @@
/* AUTOMATICALLY GENERATED - DO NOT EDIT MANUALLY */
#ifndef W_SCAN_VERSION_H
#define W_SCAN_VERSION_H
-uint version=20170107;
+unsigned int version=20170107;
#endif
@@ -0,0 +1,37 @@
si_types.h: fix build with gcc 10
Drop service_t, p_service_t, transponder_t and p_transponder_t to avoid
the following build failure with gcc 10 (which defaults to -fno-common):
/home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -Wall -Wextra -Wno-comment -Wswitch-default -Wno-unused-parameter -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -lrt -o w_scan atsc_psip_section.o countries.o descriptors.o diseqc.o dump-dvbscan.o dump-vdr.o dump-xine.o dump-mplayer.o dump-vlc-m3u.o dvbscan.o lnb.o parse-dvbscan.o satellites.o scan.o section.o tools.o emulate.o dump-xml.o iconv_codes.o char-coding.o
/home/giuliobenetti/autobuild/run/instance-3/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: descriptors.o:(.bss+0x404): multiple definition of `p_transponder_t'; countries.o:(.bss+0x0): first defined here
/home/giuliobenetti/autobuild/run/instance-3/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: descriptors.o:(.bss+0x408): multiple definition of `transponder_t'; countries.o:(.bss+0x4): first defined here
/home/giuliobenetti/autobuild/run/instance-3/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: descriptors.o:(.bss+0x480): multiple definition of `p_service_t'; countries.o:(.bss+0x7c): first defined here
/home/giuliobenetti/autobuild/run/instance-3/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: descriptors.o:(.bss+0x484): multiple definition of `service_t'; countries.o:(.bss+0x80): first defined here
Fixes:
- http://autobuild.buildroot.org/results/5640442cb4ba06bcbcf31540a64f5665862d39f7
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
diff -Nura w_scan-20170107.orig/si_types.h w_scan-20170107/si_types.h
--- w_scan-20170107.orig/si_types.h 2020-09-20 11:09:56.776963441 +0200
+++ w_scan-20170107/si_types.h 2020-09-20 11:13:13.149232478 +0200
@@ -114,7 +114,7 @@
uint32_t logical_channel_number;
uint8_t running;
void * priv;
-} service_t, * p_service_t;
+};
/*******************************************************************************
/* transponder type.
@@ -201,7 +201,7 @@
/*----------------------------*/
char * network_name;
network_change_t network_change;
-} __attribute__((packed)) transponder_t, * p_transponder_t;
+} __attribute__((packed));
/*******************************************************************************
/* satellite channel routing type.
+14
View File
@@ -0,0 +1,14 @@
comment "w_scan needs a toolchain w/ headers >= 3.7"
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
config BR2_PACKAGE_W_SCAN
bool "w_scan"
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
w_scan is a small command line utility used to perform
frequency scans for DVB and ATSC transmissions. It is
capable of creating channels.conf files (in different output
formats !) as well as initial tuning data for scan.
https://www.gen2vdr.de/wirbel/w_scan/index2.html
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated
sha256 38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe w_scan-20170107.tar.bz2
sha256 ddb9db7630752f8fdc6898f7c99a99eaeeac5213627ecb093df9c82f56175dc7 COPYING
+18
View File
@@ -0,0 +1,18 @@
################################################################################
#
# w_scan
#
################################################################################
W_SCAN_VERSION = 20170107
W_SCAN_SOURCE = w_scan-$(W_SCAN_VERSION).tar.bz2
W_SCAN_SITE = http://wirbel.htpc-forum.de/w_scan
W_SCAN_LICENSE = GPL-2.0+
W_SCAN_LICENSE_FILES = COPYING
ifeq ($(BR2_PACKAGE_LIBICONV),y)
W_SCAN_DEPENDENCIES += libiconv
W_SCAN_CONF_ENV += LIBS=-liconv
endif
$(eval $(autotools-package))