code
string | repo_name
string | path
string | language
string | license
string | size
int64 |
---|---|---|---|---|---|
################################################################################
#
# linknx
#
################################################################################
LINKNX_VERSION = 0.0.1.32
LINKNX_SITE = http://downloads.sourceforge.net/project/linknx/linknx/linknx-$(LINKNX_VERSION)
LINKNX_LICENSE = GPLv2+
LINKNX_INSTALL_STAGING = YES
# Patching acinclude.m4
LINKNX_AUTORECONF = YES
LINKNX_CONF_OPTS = \
--without-lua \
--without-log4cpp \
--without-pth-test \
--with-pth=$(STAGING_DIR)/usr \
--disable-smtp \
--with-libcurl=$(STAGING_DIR)/usr/bin/curl-config
LINKNX_DEPENDENCIES = libpthsem libcurl \
$(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone)
# This is needed to make autoreconf happy
define LINKNX_CREATE_MISSING_FILES
touch $(@D)/NEWS $(@D)/AUTHORS $(@D)/README
endef
LINKNX_POST_EXTRACT_HOOKS += LINKNX_CREATE_MISSING_FILES
ifeq ($(BR2_PACKAGE_MYSQL),y)
LINKNX_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr/bin/mysql_config
LINKNX_DEPENDENCIES += mysql
else
LINKNX_CONF_OPTS += --without-mysql
endif
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/linknx/linknx.mk
|
mk
|
mit
| 1,069 |
config BR2_PACKAGE_LINKS
bool "links"
depends on BR2_USE_MMU # fork()
help
Graphics and text mode WWW browser (kind of like lynx).
http://links.twibright.com/
if BR2_PACKAGE_LINKS
config BR2_PACKAGE_LINKS_GRAPHICS
bool "use graphics"
depends on BR2_PACKAGE_DIRECTFB || BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBXT if BR2_PACKAGE_XORG7
select BR2_PACKAGE_LIBPNG
help
Enable graphics output for DirectFB or X11.
Otherwise links will be text-mode only.
endif
|
shibajee/buildroot
|
package/links/Config.in
|
in
|
mit
| 483 |
# Locally calculated
sha256 98411811ded1e8028f5aed708dd7d8ec0ae63ce24c2991a0241a989b7d09d84e links-2.12.tar.bz2
|
shibajee/buildroot
|
package/links/links.hash
|
hash
|
mit
| 113 |
################################################################################
#
# links
#
################################################################################
LINKS_VERSION = 2.12
LINKS_SOURCE = links-$(LINKS_VERSION).tar.bz2
LINKS_SITE = http://links.twibright.com/download
LINKS_DEPENDENCIES = host-pkgconf
LINKS_LICENSE = GPLv2+
LINKS_LICENSE_FILES = COPYING
ifeq ($(BR2_PACKAGE_LINKS_GRAPHICS),y)
LINKS_CONF_OPTS += --enable-graphics
LINKS_DEPENDENCIES += libpng
ifeq ($(BR2_PACKAGE_XLIB_LIBXT),y)
LINKS_CONF_OPTS += --with-x
LINKS_DEPENDENCIES += xlib_libXt
else
LINKS_CONF_OPTS += --without-x
endif
ifeq ($(BR2_PACKAGE_DIRECTFB),y)
LINKS_CONF_ENV = ac_cv_path_DIRECTFB_CONFIG=$(STAGING_DIR)/usr/bin/directfb-config
ifeq ($(BR2_STATIC_LIBS),y)
LINKS_CONF_ENV += LIBS=-lstdc++
endif
LINKS_CONF_OPTS += --with-directfb
LINKS_DEPENDENCIES += directfb
else
LINKS_CONF_OPTS += --without-directfb
endif
ifeq ($(BR2_PACKAGE_JPEG),y)
LINKS_CONF_OPTS += --with-libjpeg
LINKS_DEPENDENCIES += jpeg
else
LINKS_CONF_OPTS += --without-libjpeg
endif
ifeq ($(BR2_PACKAGE_LIBRSVG),y)
LINKS_CONF_OPTS += --with-librsvg
LINKS_DEPENDENCIES += librsvg
else
LINKS_CONF_OPTS += --without-librsvg
endif
ifeq ($(BR2_PACKAGE_TIFF),y)
LINKS_CONF_OPTS += --with-libtiff
LINKS_DEPENDENCIES += tiff
else
LINKS_CONF_OPTS += --without-libtiff
endif
else
LINKS_CONF_OPTS += --disable-graphics
endif
ifeq ($(BR2_PACKAGE_BZIP2),y)
LINKS_CONF_OPTS += --with-bzip2
LINKS_DEPENDENCIES += bzip2
else
LINKS_CONF_OPTS += --without-bzip2
endif
ifeq ($(BR2_PACKAGE_GPM),y)
LINKS_CONF_OPTS += --with-gpm
LINKS_DEPENDENCIES += gpm
else
LINKS_CONF_OPTS += --without-gpm
endif
ifeq ($(BR2_PACKAGE_LIBEVENT),y)
LINKS_CONF_OPTS += --with-libevent
LINKS_DEPENDENCIES += libevent
else
LINKS_CONF_OPTS += --without-libevent
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
LINKS_CONF_OPTS += --with-ssl --enable-ssl-pkgconfig
LINKS_DEPENDENCIES += openssl
else
LINKS_CONF_OPTS += --without-ssl
endif
ifeq ($(BR2_PACKAGE_XZ),y)
LINKS_CONF_OPTS += --with-lzma
LINKS_DEPENDENCIES += xz
else
LINKS_CONF_OPTS += --without-lzma
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
LINKS_CONF_OPTS += --with-zlib
LINKS_DEPENDENCIES += zlib
else
LINKS_CONF_OPTS += --without-zlib
endif
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/links/links.mk
|
mk
|
mit
| 2,255 |
config BR2_PACKAGE_LINPHONE
bool "linphone"
select BR2_PACKAGE_LIBEXOSIP2
select BR2_PACKAGE_SPEEX
depends on BR2_INSTALL_LIBSTDCPP # mediastreamer (bundled)
depends on BR2_TOOLCHAIN_HAS_THREADS # ortp (bundled)
depends on BR2_USE_MMU # libeXosip2
help
Linphone is an internet phone or Voice Over IP phone (VoIP).
With linphone you can communicate freely with people over
the internet, with voice, video, and text instant messaging.
Linphone makes use of the SIP protocol, an open standard
for internet telephony. You can use Linphone with any SIP
VoIP operator, including our free SIP audio/video service.
linphone is free-software (or open-source), you can download
and redistribute it freely.
Linphone is available for desktop computers: Linux, Windows,
MacOSX, and for mobile phones: Android, iPhone, Blackberry.
Linphone support in Buildroot is limited to the commandline
client, linphonec, and video support is not enabled.
http://www.linphone.org/
comment "linphone needs a toolchain w/ threads, C++"
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
shibajee/buildroot
|
package/linphone/Config.in
|
in
|
mit
| 1,147 |
# Locally calculated after checking pgp signature
sha256 05ba81223e9378c3bce8d33080213b9925af49bd9623cd9004eb3dd22ca9d2a0 linphone-3.6.1.tar.gz
sha256 bc4ef670c0ecc1bb60bcb79374309b555c11d154bacfa363d809a26a58780933 libav9.patch
sha256 a50a8ac2caedb389c224f81393901a029fec055ec2ec83aa18d677e1bfe7fc73 libav10.patch
sha256 e384775c12ea93d3bc35dccfe4ea875c38b74be8af63fcb82e6b7f06e93d1593 libav11.patch
sha256 3367a26f65f49f4101787b1821402127d29cde9b02d3873112a5001a549cc7d9 ffmpeg_2.9.patch
|
shibajee/buildroot
|
package/linphone/linphone.hash
|
hash
|
mit
| 490 |
################################################################################
#
# linphone
#
################################################################################
LINPHONE_VERSION_MAJOR = 3.6
LINPHONE_VERSION = $(LINPHONE_VERSION_MAJOR).1
LINPHONE_SITE = http://download-mirror.savannah.gnu.org/releases/linphone/$(LINPHONE_VERSION_MAJOR).x/sources
LINPHONE_CONF_OPTS = \
--disable-strict --disable-video
# configure is out of sync causing deplibs linking issues
LINPHONE_AUTORECONF = YES
LINPHONE_INSTALL_STAGING = YES
LINPHONE_DEPENDENCIES = host-pkgconf libeXosip2 speex
LINPHONE_LICENSE = GPLv2+
LINPHONE_LICENSE_FILES = COPYING
LINPHONE_PATCH = \
https://sources.debian.net/data/main/l/linphone/3.6.1-2.5/debian/patches/libav9.patch \
https://sources.debian.net/data/main/l/linphone/3.6.1-2.5/debian/patches/libav10.patch \
https://sources.debian.net/data/main/l/linphone/3.6.1-2.5/debian/patches/libav11.patch \
https://sources.debian.net/data/main/l/linphone/3.6.1-2.5/debian/patches/ffmpeg_2.9.patch
ifeq ($(BR2_arc),y)
# toolchain __arc__ define conflicts with libosip2 source
LINPHONE_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -U__arc__"
endif
ifeq ($(BR2_PACKAGE_LIBGTK2)$(BR2_PACKAGE_XORG7),yy)
LINPHONE_CONF_OPTS += --enable-gtk_ui
LINPHONE_DEPENDENCIES += libgtk2
else
LINPHONE_CONF_OPTS += --disable-gtk_ui
endif
# needed for bundled mediastreamer2
LINPHONE_DEPENDENCIES += host-intltool host-gettext
ifeq ($(BR2_PACKAGE_ALSA_LIB_MIXER)$(BR2_PACKAGE_ALSA_LIB_PCM),yy)
LINPHONE_CONF_OPTS += --enable-alsa
LINPHONE_DEPENDENCIES += alsa-lib
else
LINPHONE_CONF_OPTS += --disable-alsa
endif
ifeq ($(BR2_PACKAGE_LIBV4L),y)
LINPHONE_CONF_OPTS += --enable-libv4l1 --enable-libv4l2
LINPHONE_DEPENDENCIES += libv4l
else
LINPHONE_CONF_OPTS += --disable-libv4l1 --disable-libv4l2
endif
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/linphone/linphone.mk
|
mk
|
mit
| 1,839 |
comment "linux-backports needs a Linux kernel to be built"
depends on !BR2_LINUX_KERNEL
config BR2_PACKAGE_LINUX_BACKPORTS
bool "linux-backports"
depends on BR2_LINUX_KERNEL
help
The linux-backports package includes many Linux drivers from
recent kernels, backported to older ones.
This version of linux-backports supports kernels starting from 3.0.
https://backports.wiki.kernel.org
if BR2_PACKAGE_LINUX_BACKPORTS
choice
prompt "Linux kernel driver backports configuration"
default BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG
config BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG
bool "Using an in-tree defconfig file"
config BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG
bool "Using a custom (def)config file"
endchoice
config BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG
string "Defconfig name"
depends on BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG
help
Name of the backports defconfig file to use, without the
leading defconfig-. The defconfig is located in defconfigs/
directory in the backports tree.
config BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE
string "Configuration file path"
depends on BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG
help
Path to the backports configuration file
Note: this can be a defconfig file or a complete .config file,
which can later be saved back with make linux-update-(def)config.
config BR2_PACKAGE_LINUX_BACKPORTS_CONFIG_FRAGMENT_FILES
string "Additional configuration fragment files"
help
A space-separated list of configuration fragment files, that
will be merged to the main linux-backports configuration file.
endif # BR2_PACKAGE_LINUX_BACKPORTS
|
shibajee/buildroot
|
package/linux-backports/Config.in
|
in
|
mit
| 1,647 |
# From: https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v4.4.2/sha256sums.asc
sha256 a979e194c2ed9fdfca092a448e626d85c5af0e4de5ad993c0967afd15af01285 backports-4.4.2-1.tar.xz
|
shibajee/buildroot
|
package/linux-backports/linux-backports.hash
|
hash
|
mit
| 194 |
################################################################################
#
# linux-backports
#
################################################################################
LINUX_BACKPORTS_VERSION_MAJOR = 4.4.2
LINUX_BACKPORTS_VERSION = $(LINUX_BACKPORTS_VERSION_MAJOR)-1
LINUX_BACKPORTS_SOURCE = backports-$(LINUX_BACKPORTS_VERSION).tar.xz
LINUX_BACKPORTS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/projects/backports/stable/v$(LINUX_BACKPORTS_VERSION_MAJOR)
LINUX_BACKPORTS_LICENSE = GPLv2
LINUX_BACKPORTS_LICENSE_FILES = COPYING
ifeq ($(BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG),y)
LINUX_BACKPORTS_KCONFIG_FILE = $(LINUX_BACKPORTS_DIR)/defconfigs/$(call qstrip,$(BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG))
else ifeq ($(BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG),y)
LINUX_BACKPORTS_KCONFIG_FILE = $(call qstrip,$(BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE))
endif
LINUX_BACKPORTS_KCONFIG_FRAGMENT_FILES = $(call qstrip,$(BR2_PACKAGE_LINUX_BACKPORTS_CONFIG_FRAGMENT_FILES))
LINUX_BACKPORTS_KCONFIG_OPTS = $(LINUX_BACKPORTS_MAKE_OPTS)
# linux-backports' build system expects the config options to be present
# in the environment, and it is so when using their custom buildsystem,
# because they are set in the main Makefile, which then calls a second
# Makefile.
#
# In our case, we do not use that first Makefile. So, we parse the
# .config file, filter-out comment lines and put the rest as command
# line variables.
#
# LINUX_BACKPORTS_MAKE_OPTS is used by the kconfig-package infra, while
# LINUX_BACKPORTS_MODULE_MAKE_OPTS is used by the kernel-module infra.
#
LINUX_BACKPORTS_MAKE_OPTS = \
BACKPORT_DIR=$(@D) \
KLIB_BUILD=$(LINUX_DIR) \
KLIB=$(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED) \
INSTALL_MOD_DIR=backports \
`sed -r -e '/^\#/d;' $(@D)/.config`
LINUX_BACKPORTS_MODULE_MAKE_OPTS = $(LINUX_BACKPORTS_MAKE_OPTS)
# This file is not automatically generated by 'oldconfig' that we use in
# the kconfig-package infrastructure. In the linux buildsystem, it is
# generated by running silentoldconfig, but that's not the case for
# linux-backports: it uses a hand-crafted rule to generate that file.
define LINUX_BACKPORTS_KCONFIG_FIXUP_CMDS
$(MAKE) -C $(@D) $(LINUX_BACKPORTS_MAKE_OPTS) backport-include/backport/autoconf.h
endef
# Checks to give errors that the user can understand
ifeq ($(BR_BUILDING),y)
ifeq ($(BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG),y)
ifeq ($(call qstrip,$(BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG)),)
$(error No linux-backports defconfig name specified, check your BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG setting)
endif
endif
ifeq ($(BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG),y)
ifeq ($(call qstrip,$(BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE)),)
$(error No linux-backports configuration file specified, check your BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE setting)
endif
endif
endif # BR_BUILDING
$(eval $(kernel-module))
$(eval $(kconfig-package))
# linux-backports' own .config file needs options from the kernel's own
# .config file. The dependencies handling in the infrastructure does not
# allow to express this kind of dependencies. Besides, linux.mk might
# not have been parsed yet, so the Linux build dir LINUX_DIR is not yet
# known. Thus, we use a "secondary expansion" so the rule is re-evaluated
# after all Makefiles are parsed, and thus at that time we will have the
# LINUX_DIR variable set to the proper value.
#
# Furthermore, we want to check the kernel version, since linux-backports
# only supports kernels >= 3.0. To avoid overriding linux-backports'
# .config rule defined in the kconfig-package infra, we use an
# intermediate stamp-file.
#
# Finally, it must also come after the call to kconfig-package, so we get
# LINUX_BACKPORTS_DIR properly defined (because the target part of the
# rule is not re-evaluated).
#
$(LINUX_BACKPORTS_DIR)/.config: $(LINUX_BACKPORTS_DIR)/.stamp_check_kernel_version
.SECONDEXPANSION:
$(LINUX_BACKPORTS_DIR)/.stamp_check_kernel_version: $$(LINUX_DIR)/.config
$(Q)LINUX_VERSION_PROBED=$(LINUX_VERSION_PROBED); \
if [ $${LINUX_VERSION_PROBED%%.*} -lt 3 ]; then \
printf "Linux version '%s' is too old for linux-backports (needs 3.0 or later)\n" \
"$${LINUX_VERSION_PROBED}"; \
exit 1; \
fi
$(Q)touch $(@)
|
shibajee/buildroot
|
package/linux-backports/linux-backports.mk
|
mk
|
mit
| 4,254 |
config BR2_PACKAGE_LINUX_FIRMWARE
bool "linux-firmware"
help
This package provides various binary firmware files (closed
binary blobs) for such devices like LAN, WLAN cards etc.
https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git
if BR2_PACKAGE_LINUX_FIRMWARE
menu "Audio firmware"
config BR2_PACKAGE_LINUX_FIRMWARE_INTEL_SST_DSP
bool "Intel SST DSP"
help
Firmware files for Intel Baytrail SST DSP audio.
endmenu # Audio
menu "Video firmware"
config BR2_PACKAGE_LINUX_FIRMWARE_RADEON
bool "AMD Radeon video card firmware"
help
Firmware files for AMD Radeon video cards.
endmenu # Video
menu "WiFi firmware"
config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6002
bool "Atheros 6002"
help
Firmware files for the Atheros AR6002 chip
config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6003
bool "Atheros 6003"
help
Firmware files for the Atheros AR6003 chip
config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6004
bool "Atheros 6004"
help
Firmware files for the Atheros AR6004 chip
config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_7010
bool "Atheros 7010"
help
Firmware files for the Atheros 7010 module
config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9170
bool "Atheros 9170"
help
Firmware files for the Atheros 9170 module
config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271
bool "Atheros 9271"
help
Firmware files for the Atheros 9271 module
config BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XX
bool "Broadcom BRCM bcm43xx"
help
Firmware files for the Broadcom bcm43xx SoftMAC and FullMAC.
config BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX
bool "Broadcom BRCM bcm43xxx"
help
Firmware files for the Broadcom bcm43xxx, SoftMAC and FullMAC.
config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160
bool "Intel iwlwifi 3160"
help
Firmware files for the Intel Wifi 3160 devices supported by
the iwlwifi kernel driver.
config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168
bool "Intel iwlwifi 3168"
help
Firmware files for the Intel Wifi 3168 devices supported by
the iwlwifi kernel driver.
config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000
bool "Intel iwlwifi 5000"
help
Firmware files for the Intel Wifi 5000 devices supported by
the iwlwifi kernel driver.
config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2A
bool "Intel iwlwifi 6000G2A"
help
Firmware files for the Intel Wifi 6000G2A devices supported by
the iwlwifi kernel driver.
config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2B
bool "Intel iwlwifi 6000G2B"
help
Firmware files for the Intel Wifi 6000G2B devices supported by
the iwlwifi kernel driver.
config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7260
bool "Intel iwlwifi 7260"
help
Firmware files for the Intel Wifi 7260 devices supported by
the iwlwifi kernel driver.
config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265
bool "Intel iwlwifi 7265"
help
Firmware files for the Intel Wifi 7265 devices supported by
the iwlwifi kernel driver.
config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265D
bool "Intel iwlwifi 7265D"
# needed for old kernel versions, where the non-D and D
# firmwares were the same
select BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265
help
Firmware files for the Intel Wifi 7265D devices supported by
the iwlwifi kernel driver.
config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8000C
bool "Intel iwlwifi 8000C"
help
Firmware files for the Intel Wifi 8000C devices supported by
the iwlwifi kernel driver.
config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8265
bool "Intel iwlwifi 8265"
help
Firmware files for the Intel Wifi 8265 devices supported by
the iwlwifi kernel driver.
config BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V8
bool "Libertas SD 8686 v8"
help
Firmware files (version 8) for the Marvell SD8686 module
config BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V9
bool "Libertas SD 8686 v9"
help
Firmware files (version 9) for the Marvell SD8686 module
config BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8688
bool "Libertas SD 8688"
help
Firmware files for the Marvell SD8688 module
config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8787
bool "Marvell Wifi-Ex 8787 SDIO"
help
Firmware files for the Marvell Wifi-Ex 8787 module on SDIO.
config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8797
bool "Marvell Wifi-Ex 8797 SDIO"
help
Firmware files for the Marvell Wifi-Ex 8797 module on SDIO.
config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8797
bool "Marvell Wifi-Ex 8797 USB"
help
Firmware files for the Marvell Wifi-Ex 8797 module on USB.
config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8887
bool "Marvell Wifi-Ex 8887 SDIO"
help
Firmware files for the Marvell Wifi-Ex 8887 module on SDIO.
config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8897
bool "Marvell Wifi-Ex 8897 SDIO"
help
Firmware files for the Marvell Wifi-Ex 8897 module on SDIO.
config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8897
bool "Marvell Wifi-Ex 8897 USB"
help
Firmware files for the Marvell Wifi-Ex 8897 module on USB.
config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_PCIE8897
bool "Marvell Wifi-Ex 8897 PCI-E"
help
Firmware files for the Marvell Wifi-Ex 8897 module on PCI-E.
config BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7601U
bool "MediaTek MT7601U"
help
MediaTek MT7601U
config BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT61
bool "Ralink rt2501/rt61"
help
Ralink rt2501/rt61
config BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73
bool "Ralink rt73"
help
Ralink rt73
config BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX
bool "Ralink rt27xx/rt28xx/rt30xx"
help
Ralink rt27xx/rt28xx/rt30xx
config BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX
bool "Realtek 81xx"
help
Realtek 8188/8192
config BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX
bool "Realtek 87xx"
help
Realtek 8712/8723/8723be
config BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX
bool "Realtek 88xx"
help
Realtek rtl8821ae
config BR2_PACKAGE_LINUX_FIRMWARE_TI_WL127X
bool "TI wl127x"
help
Firmware files for WLAN and Bluetooth modules wl1271 and wl1273
config BR2_PACKAGE_LINUX_FIRMWARE_TI_WL128X
bool "TI wl128x"
help
Firmware files for WLAN and Bluetooth modules wl128x
config BR2_PACKAGE_LINUX_FIRMWARE_TI_WL18XX
bool "TI wl18xx"
help
Firmware files for WLAN and Bluetooth modules wl18xx
endmenu
menu "Ethernet firmware"
config BR2_PACKAGE_LINUX_FIRMWARE_BNX2X
bool "Broadcom NetXtremeII"
help
Firmware files for Broadcom NetXtreme 10Gb ethernet cards (bnx2x)
config BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T4
bool "Chelsio T4"
help
Firmware files for Chelsio T4 1Gb and 10Gb ethernet cards (cxgb4)
config BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T5
bool "Chelsio T5"
help
Firmware files for Chelsio T5 1Gb and 10Gb ethernet cards (cxgb4)
config BR2_PACKAGE_LINUX_FIRMWARE_RTL_8169
bool "Realtek 8169"
help
Firmware files for Realtek 8169 gigabit ethernet cards
endmenu
menu "DVB firmware"
config BR2_PACKAGE_LINUX_FIRMWARE_AS102
bool "Abilis Systems as102"
help
Firmware file for Abilis Systems single DVB-T receiver as102
config BR2_PACKAGE_LINUX_FIRMWARE_DIB0700
bool "DiBcom dib0700"
help
Firmware file for dib0700-based USB DVB tuner driver
config BR2_PACKAGE_LINUX_FIRMWARE_ITETECH_IT9135
bool "ITEtech it9135"
help
Firmware files for ITEtech it9135 (Ax and Bx) DVB-T USB tuner
config BR2_PACKAGE_LINUX_FIRMWARE_H5_DRXK
bool "Terratec H5 DRX-K"
help
Firmware file for Terratec H5 DRX-K based DVB tuner driver
config BR2_PACKAGE_LINUX_FIRMWARE_XCx000
bool "Xceive/Cresta xc4000/xc5000/xc500c"
help
Firmware file for xc4000/xc5000/xc5000c based DVB tuner driver
endmenu
endif
|
shibajee/buildroot
|
package/linux-firmware/Config.in
|
in
|
mit
| 7,497 |
################################################################################
#
# linux-firmware
#
################################################################################
LINUX_FIRMWARE_VERSION = b0668886def608d352cd0263a7ef04e64e25574a
LINUX_FIRMWARE_SITE = http://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
LINUX_FIRMWARE_SITE_METHOD = git
# Intel SST DSP
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_INTEL_SST_DSP),y)
LINUX_FIRMWARE_FILES += intel/fw_sst_0f28.bin-48kHz_i2s_master
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.fw_sst_0f28
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RADEON),y)
LINUX_FIRMWARE_DIRS += radeon
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.radeon
endif
# rt2501/rt61
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT61),y)
LINUX_FIRMWARE_FILES += rt2561.bin rt2561s.bin rt2661.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink-firmware.txt
endif
# rt73
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73),y)
LINUX_FIRMWARE_FILES += rt73.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink-firmware.txt
endif
# rt2xx
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX),y)
# rt3090.bin is a symlink to rt2860.bin
# rt3070.bin is a symlink to rt2870.bin
LINUX_FIRMWARE_FILES += rt2860.bin rt2870.bin rt3070.bin rt3071.bin rt3090.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink-firmware.txt
endif
# rtl81xx
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX),y)
LINUX_FIRMWARE_FILES += \
rtlwifi/rtl8192cfw.bin rtlwifi/rtl8192cfwU.bin \
rtlwifi/rtl8192cfwU_B.bin rtlwifi/rtl8192cufw.bin \
rtlwifi/rtl8192defw.bin rtlwifi/rtl8192sefw.bin \
rtlwifi/rtl8188efw.bin rtlwifi/rtl8188eufw.bin \
rtlwifi/rtl8192cufw_A.bin \
rtlwifi/rtl8192cufw_B.bin rtlwifi/rtl8192cufw_TMSC.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
endif
# rtl87xx
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX),y)
LINUX_FIRMWARE_FILES += \
rtlwifi/rtl8712u.bin rtlwifi/rtl8723fw.bin \
rtlwifi/rtl8723fw_B.bin rtlwifi/rtl8723befw.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
endif
# rtl88xx
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX),y)
LINUX_FIRMWARE_FILES += \
rtlwifi/rtl8821aefw.bin \
rtlwifi/rtl8821aefw_wowlan.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
endif
# ar6002
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6002),y)
LINUX_FIRMWARE_FILES += ath6k/AR6002
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
endif
# ar6003
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6003),y)
LINUX_FIRMWARE_FILES += ath6k/AR6003
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
endif
# ar6004
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6004),y)
LINUX_FIRMWARE_FILES += ath6k/AR6004
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
endif
# ar7010
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_7010),y)
LINUX_FIRMWARE_FILES += ar7010.fw ar7010_1_1.fw htc_7010.fw ath9k_htc/htc_7010-1.4.0.fw
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
endif
# ar9170
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9170),y)
LINUX_FIRMWARE_FILES += ar9170-1.fw ar9170-2.fw
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
endif
# ar9271
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271),y)
LINUX_FIRMWARE_FILES += ar9271.fw htc_9271.fw ath9k_htc/htc_9271-1.4.0.fw
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
endif
# sd8686 v8
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V8),y)
LINUX_FIRMWARE_FILES += libertas/sd8686_v8.bin libertas/sd8686_v8_helper.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
endif
# sd8686 v9
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V9),y)
LINUX_FIRMWARE_FILES += libertas/sd8686_v9.bin libertas/sd8686_v9_helper.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
endif
# sd8688
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8688),y)
LINUX_FIRMWARE_FILES += libertas/sd8688.bin libertas/sd8688_helper.bin
# The two files above are but symlinks to those two ones:
LINUX_FIRMWARE_FILES += mrvl/sd8688.bin mrvl/sd8688_helper.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
endif
# sd8787
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8787),y)
LINUX_FIRMWARE_FILES += mrvl/sd8787_uapsta.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
endif
# sd8797
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8797),y)
LINUX_FIRMWARE_FILES += mrvl/sd8797_uapsta.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
endif
# usb8797
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8797),y)
LINUX_FIRMWARE_FILES += mrvl/usb8797_uapsta.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
endif
# sd8887
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8887),y)
LINUX_FIRMWARE_FILES += mrvl/sd8887_uapsta.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
endif
# sd8897
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8897),y)
LINUX_FIRMWARE_FILES += mrvl/sd8897_uapsta.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
endif
# usb8897
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8897),y)
LINUX_FIRMWARE_FILES += mrvl/usb8897_uapsta.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
endif
# pcie8897
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_PCIE8897),y)
LINUX_FIRMWARE_FILES += mrvl/pcie8897_uapsta.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
endif
# MT7601
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7601U),y)
LINUX_FIRMWARE_FILES += mt7601u.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink_a_mediatek_company_firmware
endif
# wl127x
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_TI_WL127X),y)
# wl1271-nvs.bin is a symlink to wl127x-nvs.bin
LINUX_FIRMWARE_FILES += \
ti-connectivity/wl1271-fw-2.bin \
ti-connectivity/wl1271-fw-ap.bin \
ti-connectivity/wl1271-fw.bin \
ti-connectivity/wl1271-nvs.bin \
ti-connectivity/wl127x-fw-3.bin \
ti-connectivity/wl127x-fw-plt-3.bin \
ti-connectivity/wl127x-nvs.bin \
ti-connectivity/wl127x-fw-4-mr.bin \
ti-connectivity/wl127x-fw-4-plt.bin \
ti-connectivity/wl127x-fw-4-sr.bin \
ti-connectivity/wl127x-fw-5-mr.bin \
ti-connectivity/wl127x-fw-5-plt.bin \
ti-connectivity/wl127x-fw-5-sr.bin \
ti-connectivity/TIInit_7.2.31.bts
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ti-connectivity
endif
# wl128x
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_TI_WL128X),y)
# wl1271-nvs.bin and wl12xx-nvs.bin are symlinks to wl127x-nvs.bin
LINUX_FIRMWARE_FILES += \
ti-connectivity/wl128x-fw-3.bin \
ti-connectivity/wl128x-fw-ap.bin \
ti-connectivity/wl128x-fw-plt-3.bin \
ti-connectivity/wl128x-fw.bin \
ti-connectivity/wl1271-nvs.bin \
ti-connectivity/wl128x-nvs.bin \
ti-connectivity/wl12xx-nvs.bin \
ti-connectivity/wl127x-nvs.bin \
ti-connectivity/wl128x-fw-4-mr.bin \
ti-connectivity/wl128x-fw-4-plt.bin \
ti-connectivity/wl128x-fw-4-sr.bin \
ti-connectivity/wl128x-fw-5-mr.bin \
ti-connectivity/wl128x-fw-5-plt.bin \
ti-connectivity/wl128x-fw-5-sr.bin \
ti-connectivity/TIInit_7.2.31.bts
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ti-connectivity
endif
# wl18xx
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_TI_WL18XX),y)
# wl1271-nvs.bin is a symlink to wl127x-nvs.bin
LINUX_FIRMWARE_FILES += \
ti-connectivity/wl18xx-fw.bin \
ti-connectivity/wl18xx-fw-2.bin \
ti-connectivity/wl18xx-fw-3.bin \
ti-connectivity/wl18xx-fw-4.bin \
ti-connectivity/wl1271-nvs.bin \
ti-connectivity/wl127x-nvs.bin \
ti-connectivity/TIInit_7.2.31.bts
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ti-connectivity
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160),y)
LINUX_FIRMWARE_FILES += iwlwifi-3160-*.ucode
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168),y)
LINUX_FIRMWARE_FILES += iwlwifi-3168-*.ucode
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
endif
# iwlwifi 5000. Multiple files are available (iwlwifi-5000-1.ucode,
# iwlwifi-5000-2.ucode, iwlwifi-5000-5.ucode), corresponding to
# different versions of the firmware API. For now, we only install the
# most recent one.
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000),y)
LINUX_FIRMWARE_FILES += iwlwifi-5000-5.ucode
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2A),y)
LINUX_FIRMWARE_FILES += iwlwifi-6000g2a-6.ucode
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2B),y)
LINUX_FIRMWARE_FILES += iwlwifi-6000g2b-6.ucode
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7260),y)
LINUX_FIRMWARE_FILES += iwlwifi-7260-*.ucode
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265),y)
LINUX_FIRMWARE_FILES += iwlwifi-7265-*.ucode
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265D),y)
LINUX_FIRMWARE_FILES += iwlwifi-7265D-*.ucode
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8000C),y)
LINUX_FIRMWARE_FILES += iwlwifi-8000C-*.ucode
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8265),y)
LINUX_FIRMWARE_FILES += iwlwifi-8265-*.ucode
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BNX2X),y)
LINUX_FIRMWARE_FILES += \
bnx2x/bnx2x-e1-7.10.51.0.fw \
bnx2x/bnx2x-e1h-7.10.51.0.fw \
bnx2x/bnx2x-e2-7.10.51.0.fw
# No license file; the license is in the file WHENCE
# which is installed unconditionally
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T4),y)
# cxgb4/t4fw.bin is a symlink to cxgb4/t4fw-1.14.4.0.bin
LINUX_FIRMWARE_FILES += cxgb4/t4fw-1.14.4.0.bin cxgb4/t4fw.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.chelsio_firmware
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T5),y)
# cxgb4/t5fw.bin is a symlink to cxgb4/t5fw-1.14.4.0.bin
LINUX_FIRMWARE_FILES += cxgb4/t5fw-1.14.4.0.bin cxgb4/t5fw.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.chelsio_firmware
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_8169),y)
LINUX_FIRMWARE_FILES += \
rtl_nic/rtl8168d-1.fw \
rtl_nic/rtl8168d-2.fw \
rtl_nic/rtl8168e-1.fw \
rtl_nic/rtl8168e-2.fw \
rtl_nic/rtl8168e-3.fw \
rtl_nic/rtl8168f-1.fw \
rtl_nic/rtl8168f-2.fw \
rtl_nic/rtl8105e-1.fw \
rtl_nic/rtl8402-1.fw \
rtl_nic/rtl8411-1.fw \
rtl_nic/rtl8411-2.fw \
rtl_nic/rtl8106e-1.fw \
rtl_nic/rtl8106e-2.fw \
rtl_nic/rtl8168g-2.fw \
rtl_nic/rtl8168g-3.fw
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_XCx000),y)
LINUX_FIRMWARE_FILES += \
dvb-fe-xc4000-1.4.1.fw \
dvb-fe-xc5000-1.6.114.fw \
dvb-fe-xc5000c-4.1.30.7.fw
LINUX_FIRMWARE_ALL_LICENSE_FILES += \
LICENCE.xc4000 \
LICENCE.xc5000 \
LICENCE.xc5000c
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_AS102),y)
LINUX_FIRMWARE_FILES += as102_data1_st.hex as102_data2_st.hex
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Abilis
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_DIB0700),y)
LINUX_FIRMWARE_FILES += dvb-usb-dib0700-1.20.fw
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.dib0700
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ITETECH_IT9135),y)
LINUX_FIRMWARE_FILES += dvb-usb-it9135-01.fw dvb-usb-it9135-02.fw
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.it913x
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_H5_DRXK),y)
LINUX_FIRMWARE_FILES += dvb-usb-terratec-h5-drxk.fw
# No license file; the license is in the file WHENCE
# which is installed unconditionally
endif
# brcm43xx
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XX),y)
LINUX_FIRMWARE_FILES += \
brcm/bcm43xx-0.fw brcm/bcm43xx_hdr-0.fw \
brcm/bcm4329-fullmac-4.bin brcm/brcmfmac4329-sdio.bin \
brcm/brcmfmac4330-sdio.bin brcm/brcmfmac4334-sdio.bin \
brcm/brcmfmac4335-sdio.bin brcm/brcmfmac4339-sdio.bin \
brcm/brcmfmac4350-pcie.bin brcm/brcmfmac4354-sdio.bin \
brcm/brcmfmac4356-pcie.bin brcm/brcmfmac4371-pcie.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx
endif
# brcm43xxx
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX),y)
LINUX_FIRMWARE_FILES += \
brcm/brcmfmac43143.bin brcm/brcmfmac43143-sdio.bin \
brcm/brcmfmac43236b.bin brcm/brcmfmac43241b0-sdio.bin \
brcm/brcmfmac43241b4-sdio.bin brcm/brcmfmac43241b5-sdio.bin \
brcm/brcmfmac43242a.bin brcm/brcmfmac43340-sdio.bin \
brcm/brcmfmac43362-sdio.bin brcm/brcmfmac43455-sdio.bin \
brcm/brcmfmac43569.bin brcm/brcmfmac43570-pcie.bin \
brcm/brcmfmac43602-pcie.ap.bin brcm/brcmfmac43602-pcie.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx
endif
ifneq ($(LINUX_FIRMWARE_FILES),)
define LINUX_FIRMWARE_INSTALL_FILES
cd $(@D) ; \
$(TAR) c $(sort $(LINUX_FIRMWARE_FILES)) | \
$(TAR) x -C $(TARGET_DIR)/lib/firmware
endef
endif
ifneq ($(LINUX_FIRMWARE_DIRS),)
# We need to rm-rf the destination directory to avoid copying
# into it in itself, should we re-install the package.
define LINUX_FIRMWARE_INSTALL_DIRS
$(foreach d,$(LINUX_FIRMWARE_DIRS), \
rm -rf $(TARGET_DIR)/lib/firmware/$(d); \
cp -a $(@D)/$(d) $(TARGET_DIR)/lib/firmware/$(d)$(sep))
endef
endif
ifneq ($(LINUX_FIRMWARE_FILES)$(LINUX_FIRMWARE_DIRS),)
# Most firmware files are under a proprietary license, so no need to
# repeat it for every selections above. Those firmwares that have more
# lax licensing terms may still add them on a per-case basis.
LINUX_FIRMWARE_LICENSE += Proprietary
# This file contains some licensing information about all the firmware
# files found in the linux-firmware package, so we always add it, even
# for firmwares that have their own licensing terms.
LINUX_FIRMWARE_ALL_LICENSE_FILES += WHENCE
# Some license files may be listed more than once, so we have to remove
# duplicates
LINUX_FIRMWARE_LICENSE_FILES = $(sort $(LINUX_FIRMWARE_ALL_LICENSE_FILES))
endif
define LINUX_FIRMWARE_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/lib/firmware
$(LINUX_FIRMWARE_INSTALL_FILES)
$(LINUX_FIRMWARE_INSTALL_DIRS)
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/linux-firmware/linux-firmware.mk
|
mk
|
mit
| 13,918 |
Fix build for linux >= 4.x
Instead of relying on testing for '3' as the linux kernel major verison,
check that it is 2.x to include the proper Makefile, otherwise forcibly
include the .26 Makefile, that is good for 3.x and 4.x too.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
diff -durN linux-fusion-9.0.2.orig/Makefile linux-fusion-9.0.2/Makefile
--- linux-fusion-9.0.2.orig/Makefile 2013-07-15 11:58:03.000000000 +0200
+++ linux-fusion-9.0.2/Makefile 2015-06-06 19:03:04.059842652 +0200
@@ -62,10 +62,10 @@
CPPFLAGS += -DHAVE_LINUX_CONFIG_H
endif
-ifeq ($(K_VERSION),3)
- KMAKEFILE = Makefile-2.6
-else
+ifeq ($(K_VERSION),2)
KMAKEFILE = Makefile-2.$(K_PATCHLEVEL)
+else
+ KMAKEFILE = Makefile-2.6
endif
check-version = $(shell expr \( $(K_VERSION) \* 65536 + $(K_PATCHLEVEL) \* 256 + $(K_SUBLEVEL) \) \>= \( $(1) \* 65536 + $(2) \* 256 + $(3) \))
|
shibajee/buildroot
|
package/linux-fusion/0001-fix-for-linux-4-and-above.patch
|
patch
|
mit
| 881 |
From debb9cafe9b7cc2b286399ecc8e3210480061c70 Mon Sep 17 00:00:00 2001
From: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Date: Mon, 11 Jan 2016 15:42:16 +0100
Subject: [PATCH] Fix mismatched conversion spec and value in printk
linux/drivers/char/fusion/fusiondev.c:775:38: warning:
format '%ld' expects argument of type 'long int', but argument 7 has type 'int'
Subtracting two pointers yields a ptrdiff_t value, and ptrdiff_t is not
necessarily an alias for long int. Cast the value to long int.
Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
---
linux/drivers/char/fusion/fusiondev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux/drivers/char/fusion/fusiondev.c b/linux/drivers/char/fusion/fusiondev.c
index 7003407f7e1e..dfb5f8ecb81a 100644
--- a/linux/drivers/char/fusion/fusiondev.c
+++ b/linux/drivers/char/fusion/fusiondev.c
@@ -775,7 +775,7 @@ call_ioctl(FusionDev * dev, Fusionee * fusionee,
printk( KERN_ERR "fusion: FUSION_CALL_EXECUTE3 with errorneous call (failed on previous ioctl call), "
"call id %d, flags 0x%08x, arg %d, length %u, serial %u, %ld\n",
execute3.call_id, execute3.flags, execute3.call_arg, execute3.length, execute3.ret_length,
- (execute3_bin - (FusionCallExecute3 *) arg) );
+ (long int)(execute3_bin - (FusionCallExecute3 *) arg) );
return -EIO;
}
|
shibajee/buildroot
|
package/linux-fusion/0002-Fix-mismatched-conversion-spec-and-value-in-printk.patch
|
patch
|
mit
| 1,585 |
From 9fcd5003c0363af140a06aba94e62c9e1ea0381e Mon Sep 17 00:00:00 2001
From: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Date: Mon, 11 Jan 2016 16:45:30 +0100
Subject: [PATCH] Fix fusion: Unknown symbol tasklist_lock (err 0)
Commit 28f6569ab7d0 renamed TREE_PREEMPT_RCU to PREEMPT_RCU in 3.19
As a result, the code incorrectly falls back to using tasklist_lock
(which was made private in 2.6.18)
Always use rcu_read_lock on modern kernels.
Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
---
linux/drivers/char/fusion/fusionee.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/linux/drivers/char/fusion/fusionee.c b/linux/drivers/char/fusion/fusionee.c
index ef067f5bc831..70cd0a665f98 100644
--- a/linux/drivers/char/fusion/fusionee.c
+++ b/linux/drivers/char/fusion/fusionee.c
@@ -925,7 +925,7 @@ fusionee_kill(FusionDev * dev,
if (f != fusionee && (!target || target == f->id)) {
struct task_struct *p;
-#if defined(CONFIG_TREE_RCU) || defined(CONFIG_TREE_PREEMPT_RCU) || defined(CONFIG_TINY_RCU) || defined(rcu_read_lock)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
rcu_read_lock();
#else
read_lock(&tasklist_lock);
@@ -946,7 +946,7 @@ fusionee_kill(FusionDev * dev,
}
}
-#if defined(CONFIG_TREE_RCU) || defined(CONFIG_TREE_PREEMPT_RCU) || defined(CONFIG_TINY_RCU) || defined(rcu_read_unlock)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
rcu_read_unlock();
#else
read_unlock(&tasklist_lock);
|
shibajee/buildroot
|
package/linux-fusion/0003-Fix-fusion-Unknown-symbol-tasklist_lock-err-0.patch
|
patch
|
mit
| 1,624 |
From be288b60278c78eccfd347aacf4d3dd8771215a9 Mon Sep 17 00:00:00 2001
From: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Date: Tue, 12 Jan 2016 14:01:42 +0100
Subject: [PATCH] Port one/one_udp.c to Linux 4.1
Kernel commit c0371da6047a replaced msg_iov and msg_iovlen with msg_iter
in struct msghdr since 3.19
one/one_udp.c: In function 'ksocket_send_iov':
one/one_udp.c:186:9: error: 'struct msghdr' has no member named 'msg_iov'
one/one_udp.c:187:9: error: 'struct msghdr' has no member named 'msg_iovlen'
one/one_udp.c: In function 'ksocket_receive':
one/one_udp.c:221:9: error: 'struct msghdr' has no member named 'msg_iov'
one/one_udp.c:222:9: error: 'struct msghdr' has no member named 'msg_iovlen'
The iov_iter interface
https://lwn.net/Articles/625077/
Kernel commit d8725c86aeba dropped the len parameter in sock_sendmsg
since 4.1
one/one_udp.c: In function 'ksocket_send_iov':
one/one_udp.c:192:13: error: too many arguments to function 'sock_sendmsg'
Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
---
one/one_udp.c | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/one/one_udp.c b/one/one_udp.c
index 26b9e6a1f729..b1daae164cdf 100644
--- a/one/one_udp.c
+++ b/one/one_udp.c
@@ -161,7 +161,7 @@ ksocket_send_iov( struct socket *sock,
const struct iovec *iov,
size_t iov_count )
{
- struct msghdr msg;
+ struct msghdr msg = { addr, sizeof *addr };
mm_segment_t oldfs;
int size = 0;
size_t len = 0;
@@ -178,18 +178,20 @@ ksocket_send_iov( struct socket *sock,
for (i=0; i<iov_count; i++)
len += iov[i].iov_len;
- msg.msg_flags = 0;
- msg.msg_name = addr;
- msg.msg_namelen = sizeof(struct sockaddr_in);
- msg.msg_control = NULL;
- msg.msg_controllen = 0;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,19,0) // commit c0371da6047a
msg.msg_iov = (struct iovec*) iov;
msg.msg_iovlen = iov_count;
- msg.msg_control = NULL;
+#else
+ iov_iter_init(&msg.msg_iter, WRITE, iov, iov_count, len);
+#endif
oldfs = get_fs();
set_fs(KERNEL_DS);
- size = sock_sendmsg(sock,&msg,len);
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4,1,0) // commit d8725c86aeba
+ size = sock_sendmsg(sock, &msg, len);
+#else
+ size = sock_sendmsg(sock, &msg);
+#endif
set_fs(oldfs);
return size;
@@ -198,7 +200,7 @@ ksocket_send_iov( struct socket *sock,
static int
ksocket_receive(struct socket* sock, struct sockaddr_in* addr, void *buf, int len)
{
- struct msghdr msg;
+ struct msghdr msg = { addr, sizeof *addr };
struct iovec iov;
mm_segment_t oldfs;
int size = 0;
@@ -213,14 +215,12 @@ ksocket_receive(struct socket* sock, struct sockaddr_in* addr, void *buf, int le
iov.iov_base = buf;
iov.iov_len = len;
- msg.msg_flags = 0;
- msg.msg_name = addr;
- msg.msg_namelen = sizeof(struct sockaddr_in);
- msg.msg_control = NULL;
- msg.msg_controllen = 0;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,19,0) // commit c0371da6047a
msg.msg_iov = &iov;
msg.msg_iovlen = 1;
- msg.msg_control = NULL;
+#else
+ iov_iter_init(&msg.msg_iter, READ, &iov, 1, len);
+#endif
oldfs = get_fs();
set_fs(KERNEL_DS);
|
shibajee/buildroot
|
package/linux-fusion/0004-Port-one-one_udp.c-to-Linux-4.1.patch
|
patch
|
mit
| 3,334 |
KERNEL=="fusion[0-9]*", NAME="fusion/%n", GROUP="video", MODE="0660"
|
shibajee/buildroot
|
package/linux-fusion/40-fusion.rules
|
rules
|
mit
| 69 |
comment "linux-fusion needs a Linux kernel to be built"
depends on !BR2_LINUX_KERNEL
config BR2_PACKAGE_LINUX_FUSION
bool "linux-fusion communication layer for DirectFB multi"
depends on BR2_LINUX_KERNEL
select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra
help
DirectFB Communication Layer allowing multiple DirectFB
applications to run concurrently
|
shibajee/buildroot
|
package/linux-fusion/Config.in
|
in
|
mit
| 373 |
# Locally computed
sha256 c3c71af364ef774c70d3f6fbc32d14bc786d915df633d6fe733e1fde84ad6e99 linux-fusion-9.0.3.tar.xz
|
shibajee/buildroot
|
package/linux-fusion/linux-fusion.hash
|
hash
|
mit
| 117 |
################################################################################
#
# linux-fusion
#
################################################################################
LINUX_FUSION_VERSION = 9.0.3
LINUX_FUSION_SITE = http://directfb.org/downloads/Core/linux-fusion
LINUX_FUSION_SOURCE = linux-fusion-$(LINUX_FUSION_VERSION).tar.xz
LINUX_FUSION_INSTALL_STAGING = YES
LINUX_FUSION_DEPENDENCIES = linux
LINUX_FUSION_LICENSE = GPLv2+
LINUX_FUSION_LICENSE_FILES = debian/copyright
LINUX_FUSION_ETC_DIR = $(TARGET_DIR)/etc/udev/rules.d
LINUX_FUSION_MAKE_OPTS = \
KERNEL_VERSION=$(LINUX_VERSION_PROBED) \
KERNEL_BUILD=$(LINUX_DIR) \
KERNEL_SOURCE=$(LINUX_DIR) \
SYSROOT=$(TARGET_DIR) \
ARCH=$(KERNEL_ARCH) \
CROSS_COMPILE=$(TARGET_CROSS) \
KERNEL_MODLIB=/lib/modules/$(LINUX_VERSION_PROBED)/kernel
define LINUX_FUSION_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) $(LINUX_FUSION_MAKE_OPTS) -C $(@D)
endef
define LINUX_FUSION_INSTALL_STAGING_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) $(LINUX_FUSION_MAKE_OPTS) INSTALL_MOD_PATH=$(STAGING_DIR) -C $(@D) headers_install
endef
define LINUX_FUSION_INSTALL_TARGET_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) \
$(LINUX_FUSION_MAKE_OPTS) \
INSTALL_MOD_PATH=$(TARGET_DIR) \
-C $(@D) install
$(INSTALL) -D -m 644 package/linux-fusion/40-fusion.rules \
$(LINUX_FUSION_ETC_DIR)/40-fusion.rules
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/linux-fusion/linux-fusion.mk
|
mk
|
mit
| 1,384 |
config BR2_PACKAGE_LINUX_HEADERS
bool
|
shibajee/buildroot
|
package/linux-headers/Config.in
|
in
|
mit
| 39 |
config BR2_PACKAGE_HOST_LINUX_HEADERS
bool
comment "Kernel Header Options"
choice
prompt "Kernel Headers"
default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
default BR2_KERNEL_HEADERS_4_7
help
Select the kernel version to get headers from.
The kernel headers must be at least as old as the oldest kernel
you intend to run on your target.
If you use Buildroot to build a kernel, then you can use
the sources from that kernel as source for the headers.
If you choose a custom version of the kernel headers, or choose
to use the same sources as the kernel, you'll have to select
(below) the series of that kernel, so that Buildroot can show
or hide packages that have strong requirements on the kernel
headers.
config BR2_KERNEL_HEADERS_AS_KERNEL
bool "Same as kernel being built"
depends on BR2_LINUX_KERNEL
config BR2_KERNEL_HEADERS_3_2
bool "Linux 3.2.x kernel headers"
depends on !BR2_arc && !BR2_nios2
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
config BR2_KERNEL_HEADERS_3_4
bool "Linux 3.4.x kernel headers"
depends on !BR2_arc && !BR2_nios2
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
config BR2_KERNEL_HEADERS_3_10
bool "Linux 3.10.x kernel headers"
depends on !BR2_nios2
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
config BR2_KERNEL_HEADERS_3_12
bool "Linux 3.12.x kernel headers"
depends on !BR2_nios2
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
config BR2_KERNEL_HEADERS_3_14
bool "Linux 3.14.x kernel headers"
depends on !BR2_nios2
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
config BR2_KERNEL_HEADERS_3_18
bool "Linux 3.18.x kernel headers"
depends on !BR2_nios2
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
config BR2_KERNEL_HEADERS_3_19
bool "Linux 3.19.x kernel headers"
depends on BR2_DEPRECATED_SINCE_2015_08
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
config BR2_KERNEL_HEADERS_4_0
bool "Linux 4.0.x kernel headers"
depends on BR2_DEPRECATED_SINCE_2015_08
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
config BR2_KERNEL_HEADERS_4_1
bool "Linux 4.1.x kernel headers"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
config BR2_KERNEL_HEADERS_4_2
bool "Linux 4.2.x kernel headers"
depends on BR2_DEPRECATED_SINCE_2016_02
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
config BR2_KERNEL_HEADERS_4_3
bool "Linux 4.3.x kernel headers"
depends on BR2_DEPRECATED_SINCE_2016_05
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
config BR2_KERNEL_HEADERS_4_4
bool "Linux 4.4.x kernel headers"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
config BR2_KERNEL_HEADERS_4_5
bool "Linux 4.5.x kernel headers"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
config BR2_KERNEL_HEADERS_4_6
bool "Linux 4.6.x kernel headers"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
config BR2_KERNEL_HEADERS_4_7
bool "Linux 4.7.x kernel headers"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
config BR2_KERNEL_HEADERS_VERSION
bool "Manually specified Linux version"
endchoice
config BR2_DEFAULT_KERNEL_VERSION
string "linux version"
depends on BR2_KERNEL_HEADERS_VERSION
help
Specify the version you want to use.
E.G.: 3.6.10
choice
bool "Custom kernel headers series"
depends on BR2_KERNEL_HEADERS_VERSION || BR2_KERNEL_HEADERS_AS_KERNEL
help
Specify the kernel headers series you manually selected, above.
This is used to hide/show some packages that have strict
requirements on the version of kernel headers.
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7
bool "4.7.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6
bool "4.6.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5
bool "4.5.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4
bool "4.4.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3
bool "4.3.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2
bool "4.2.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1
bool "4.1.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0
bool "4.0.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19
bool "3.19.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18
bool "3.18.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17
bool "3.17.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_16
bool "3.16.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15
bool "3.15.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14
bool "3.14.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13
bool "3.13.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12
bool "3.12.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_11
bool "3.11.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10
bool "3.10.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9
bool "3.9.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_8
bool "3.8.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_7
bool "3.7.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_6
bool "3.6.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_5
bool "3.5.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4
bool "3.4.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_3
bool "3.3.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_2
bool "3.2.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_1
bool "3.1.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0
bool "3.0.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD
bool "2.6.x"
endchoice
config BR2_DEFAULT_KERNEL_HEADERS
string
default "3.2.81" if BR2_KERNEL_HEADERS_3_2
default "3.4.112" if BR2_KERNEL_HEADERS_3_4
default "3.10.103" if BR2_KERNEL_HEADERS_3_10
default "3.12.62" if BR2_KERNEL_HEADERS_3_12
default "3.14.77" if BR2_KERNEL_HEADERS_3_14
default "3.18.40" if BR2_KERNEL_HEADERS_3_18
default "3.19.8" if BR2_KERNEL_HEADERS_3_19
default "4.0.9" if BR2_KERNEL_HEADERS_4_0
default "4.1.31" if BR2_KERNEL_HEADERS_4_1
default "4.2.8" if BR2_KERNEL_HEADERS_4_2
default "4.3.6" if BR2_KERNEL_HEADERS_4_3
default "4.4.19" if BR2_KERNEL_HEADERS_4_4
default "4.5.7" if BR2_KERNEL_HEADERS_4_5
default "4.6.7" if BR2_KERNEL_HEADERS_4_6
default "4.7.2" if BR2_KERNEL_HEADERS_4_7
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
|
shibajee/buildroot
|
package/linux-headers/Config.in.host
|
host
|
mit
| 7,325 |
################################################################################
#
# linux-headers
#
################################################################################
# This package is used to provide Linux kernel headers for the
# internal toolchain backend.
ifeq ($(BR2_KERNEL_HEADERS_AS_KERNEL),y)
LINUX_HEADERS_VERSION = $(call qstrip,$(BR2_LINUX_KERNEL_VERSION))
# Compute LINUX_HEADERS_SOURCE and LINUX_HEADERS_SITE from the configuration
ifeq ($(BR2_LINUX_KERNEL_CUSTOM_TARBALL),y)
LINUX_HEADERS_TARBALL = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION))
LINUX_HEADERS_SITE = $(patsubst %/,%,$(dir $(LINUX_HEADERS_TARBALL)))
LINUX_HEADERS_SOURCE = $(notdir $(LINUX_HEADERS_TARBALL))
BR_NO_CHECK_HASH_FOR += $(LINUX_HEADERS_SOURCE)
else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_LOCAL),y)
LINUX_HEADERS_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_LOCAL_PATH))
LINUX_HEADERS_SITE_METHOD = local
else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_GIT),y)
LINUX_HEADERS_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL))
LINUX_HEADERS_SITE_METHOD = git
# use same git tarball as linux kernel
LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION).tar.gz
else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_HG),y)
LINUX_HEADERS_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL))
LINUX_HEADERS_SITE_METHOD = hg
# use same hg tarball as linux kernel
LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION).tar.gz
else
LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION).tar.xz
ifeq ($(BR2_LINUX_KERNEL_CUSTOM_VERSION),y)
BR_NO_CHECK_HASH_FOR += $(LINUX_HEADERS_SOURCE)
endif
# In X.Y.Z, get X and Y. We replace dots and dashes by spaces in order
# to use the $(word) function. We support versions such as 4.0, 3.1,
# 2.6.32, 2.6.32-rc1, 3.0-rc6, etc.
ifeq ($(findstring x2.6.,x$(LINUX_HEADERS_VERSION)),x2.6.)
LINUX_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v2.6
else ifeq ($(findstring x3.,x$(LINUX_HEADERS_VERSION)),x3.)
LINUX_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v3.x
else ifeq ($(findstring x4.,x$(LINUX_HEADERS_VERSION)),x4.)
LINUX_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v4.x
endif
# release candidates are in testing/ subdir
ifneq ($(findstring -rc,$(LINUX_HEADERS_VERSION)),)
LINUX_HEADERS_SITE := $(LINUX_HEADERS_SITE)/testing
endif # -rc
endif
LINUX_HEADERS_PATCHES = $(call qstrip,$(BR2_LINUX_KERNEL_PATCH))
# We rely on the generic package infrastructure to download and apply
# remote patches (downloaded from ftp, http or https). For local
# patches, we can't rely on that infrastructure, because there might
# be directories in the patch list (unlike for other packages).
LINUX_HEADERS_PATCH = $(filter ftp://% http://% https://%,$(LINUX_HEADERS_PATCHES))
define LINUX_HEADERS_APPLY_LOCAL_PATCHES
for p in $(filter-out ftp://% http://% https://%,$(LINUX_HEADERS_PATCHES)) ; do \
if test -d $$p ; then \
$(APPLY_PATCHES) $(@D) $$p \*.patch || exit 1 ; \
else \
$(APPLY_PATCHES) $(@D) `dirname $$p` `basename $$p` || exit 1; \
fi \
done
endef
LINUX_HEADERS_POST_PATCH_HOOKS += LINUX_HEADERS_APPLY_LOCAL_PATCHES
else # ! BR2_KERNEL_HEADERS_AS_KERNEL
LINUX_HEADERS_VERSION = $(call qstrip,$(BR2_DEFAULT_KERNEL_HEADERS))
ifeq ($(findstring x2.6.,x$(LINUX_HEADERS_VERSION)),x2.6.)
LINUX_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v2.6
else ifeq ($(findstring x3.,x$(LINUX_HEADERS_VERSION)),x3.)
LINUX_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v3.x
else ifeq ($(findstring x4.,x$(LINUX_HEADERS_VERSION)),x4.)
LINUX_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v4.x
endif
LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION).tar.xz
endif # ! BR2_KERNEL_HEADERS_AS_KERNEL
LINUX_HEADERS_LICENSE = GPLv2
LINUX_HEADERS_LICENSE_FILES = COPYING
LINUX_HEADERS_INSTALL_STAGING = YES
# linux-headers is part of the toolchain so disable the toolchain dependency
LINUX_HEADERS_ADD_TOOLCHAIN_DEPENDENCY = NO
# For some architectures (eg. Arc, Cris, Hexagon, ia64, parisc,
# score and xtensa), the Linux buildsystem tries to call the
# cross-compiler, although it is not needed at all.
# This results in seemingly errors like:
# [...]/scripts/gcc-version.sh: line 26: arc-linux-uclibc-gcc: command not found
# Those can be safely ignored.
# This step is required to have a separate linux headers location for
# uClibc building. This way uClibc doesn't modify linux headers on installation
# of "its" headers
define LINUX_HEADERS_CONFIGURE_CMDS
(cd $(@D); \
$(TARGET_MAKE_ENV) $(MAKE) \
ARCH=$(KERNEL_ARCH) \
HOSTCC="$(HOSTCC)" \
HOSTCFLAGS="$(HOSTCFLAGS)" \
HOSTCXX="$(HOSTCXX)" \
INSTALL_HDR_PATH=$(@D)/usr \
headers_install)
endef
define LINUX_HEADERS_INSTALL_STAGING_CMDS
(cd $(@D); \
$(TARGET_MAKE_ENV) $(MAKE) \
ARCH=$(KERNEL_ARCH) \
HOSTCC="$(HOSTCC)" \
HOSTCFLAGS="$(HOSTCFLAGS)" \
HOSTCXX="$(HOSTCXX)" \
INSTALL_HDR_PATH=$(STAGING_DIR)/usr \
headers_install)
endef
ifeq ($(BR2_KERNEL_HEADERS_VERSION)$(BR2_KERNEL_HEADERS_AS_KERNEL),y)
define LINUX_HEADERS_CHECK_VERSION
$(call check_kernel_headers_version,\
$(STAGING_DIR),\
$(call qstrip,$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)))
endef
LINUX_HEADERS_POST_INSTALL_STAGING_HOOKS += LINUX_HEADERS_CHECK_VERSION
endif
$(eval $(generic-package))
|
shibajee/buildroot
|
package/linux-headers/linux-headers.mk
|
mk
|
mit
| 5,218 |
Disable generation of documentation
Generation of documentation is not necessary in Buildroot, disable it completely.
Signed-off-by: Dmitry Golubovsky <golubovsky@gmail.com>
Signed-off-by: Brendan Heading <brendanheading@gmail.com>
Upstream-status: inappropriate
diff -urN a/doc/Makefile.am b/doc/Makefile.am
--- a/doc/Makefile.am 2012-08-15 06:08:43.000000000 -0500
+++ b/doc/Makefile.am 2013-07-17 09:54:53.000000000 -0500
@@ -2,8 +2,6 @@
# Copyright (c) 2005, 2006 Thorsten Kukuk <kukuk@suse.de>
#
-SUBDIRS = man specs sag adg mwg
-
CLEANFILES = *~
dist_html_DATA = index.html
@@ -11,11 +9,4 @@
#######################################################
releasedocs: all
- $(mkinstalldirs) $(top_builddir)/Linux-PAM-$(VERSION)/doc/specs
- cp -av specs/draft-morgan-pam-current.txt \
- $(top_builddir)/Linux-PAM-$(VERSION)/doc/specs/
- cp -av $(srcdir)/specs/rfc86.0.txt \
- $(top_builddir)/Linux-PAM-$(VERSION)/doc/specs/
- make -C sag releasedocs
- make -C adg releasedocs
- make -C mwg releasedocs
+ /bin/true
|
shibajee/buildroot
|
package/linux-pam/0001-doc-makefile-am.patch
|
patch
|
mit
| 1,030 |
ruserok is not available/functional in uclibc, provide conditions
for compilation where needed.
Patch originally by Dmitry Golubovsky <golubovsky@gmail.com> -
porting to linux-pam 1.2.1.
Signed-off-by: Brendan Heading <brendanheading@gmail.com>
Upstream-status: pending
---
configure.ac | 2 +-
modules/pam_rhosts/pam_rhosts.c | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 08e4530..fd2fd23 100644
--- a/configure.ac
+++ b/configure.ac
@@ -542,7 +542,7 @@ AC_CHECK_FUNCS(fseeko getdomainname gethostname gettimeofday lckpwdf mkdir selec
AC_CHECK_FUNCS(strcspn strdup strspn strstr strtol uname)
AC_CHECK_FUNCS(getutent_r getpwnam_r getpwuid_r getgrnam_r getgrgid_r getspnam_r)
AC_CHECK_FUNCS(getgrouplist getline getdelim)
-AC_CHECK_FUNCS(inet_ntop inet_pton innetgr ruserok_af)
+AC_CHECK_FUNCS(inet_ntop inet_pton innetgr ruserok_af ruserok)
AC_CHECK_FUNCS(unshare, [UNSHARE=yes], [UNSHARE=no])
AM_CONDITIONAL([HAVE_UNSHARE], [test "$UNSHARE" = yes])
diff --git a/modules/pam_rhosts/pam_rhosts.c b/modules/pam_rhosts/pam_rhosts.c
index bc9e76f..909db29 100644
--- a/modules/pam_rhosts/pam_rhosts.c
+++ b/modules/pam_rhosts/pam_rhosts.c
@@ -114,8 +114,12 @@ int pam_sm_authenticate (pam_handle_t *pamh, int flags, int argc,
#ifdef HAVE_RUSEROK_AF
retval = ruserok_af (rhost, as_root, ruser, luser, PF_UNSPEC);
#else
+ #ifdef HAVE_RUSEROK
retval = ruserok (rhost, as_root, ruser, luser);
-#endif
+ #else
+ retval = -1;
+ #endif /* HAVE_RUSEROK */
+#endif /*HAVE_RUSEROK_AF */
if (retval != 0) {
if (!opt_silent || opt_debug)
pam_syslog(pamh, LOG_WARNING, "denied access to %s@%s as %s",
--
2.4.3
|
shibajee/buildroot
|
package/linux-pam/0002-Conditionally-compile-per-ruserok-availability.patch
|
patch
|
mit
| 1,724 |
innetgr is not available/functional in uclibc, provide conditions for
compilation.
Patch originally by Dmitry Golubovsky <golubovsky@gmail.com> - porting
to linux-pam 1.2.1.
Signed-off-by: Brendan Heading <brendanheading@gmail.com>
Upstream-status: pending
---
modules/pam_group/pam_group.c | 8 +++++++-
modules/pam_succeed_if/pam_succeed_if.c | 4 ++++
modules/pam_time/pam_time.c | 8 +++++++-
3 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/modules/pam_group/pam_group.c b/modules/pam_group/pam_group.c
index be5f20f..0982de8 100644
--- a/modules/pam_group/pam_group.c
+++ b/modules/pam_group/pam_group.c
@@ -655,8 +655,14 @@ static int check_account(pam_handle_t *pamh, const char *service,
continue;
}
/* If buffer starts with @, we are using netgroups */
- if (buffer[0] == '@')
+ if (buffer[0] == '@') {
+#ifdef HAVE_INNETGR
good &= innetgr (&buffer[1], NULL, user, NULL);
+#else
+ good = 0;
+ pam_syslog (pamh, LOG_ERR, "pam_group does not have netgroup support");
+#endif /* HAVE_INNETGR */
+ }
/* otherwise, if the buffer starts with %, it's a UNIX group */
else if (buffer[0] == '%')
good &= pam_modutil_user_in_group_nam_nam(pamh, user, &buffer[1]);
diff --git a/modules/pam_succeed_if/pam_succeed_if.c b/modules/pam_succeed_if/pam_succeed_if.c
index aa828fc..c09d669 100644
--- a/modules/pam_succeed_if/pam_succeed_if.c
+++ b/modules/pam_succeed_if/pam_succeed_if.c
@@ -233,16 +233,20 @@ evaluate_notingroup(pam_handle_t *pamh, const char *user, const char *group)
static int
evaluate_innetgr(const char *host, const char *user, const char *group)
{
+#ifdef HAVE_INNETGR
if (innetgr(group, host, user, NULL) == 1)
return PAM_SUCCESS;
+#endif /* HAVE_INNETGR */
return PAM_AUTH_ERR;
}
/* Return PAM_SUCCESS if the (host,user) is NOT in the netgroup. */
static int
evaluate_notinnetgr(const char *host, const char *user, const char *group)
{
+#ifdef HAVE_INNETGR
if (innetgr(group, host, user, NULL) == 0)
return PAM_SUCCESS;
+#endif /* HAVE_INNETGR */
return PAM_AUTH_ERR;
}
diff --git a/modules/pam_time/pam_time.c b/modules/pam_time/pam_time.c
index c94737c..4898fd2 100644
--- a/modules/pam_time/pam_time.c
+++ b/modules/pam_time/pam_time.c
@@ -554,8 +554,14 @@ check_account(pam_handle_t *pamh, const char *service,
continue;
}
/* If buffer starts with @, we are using netgroups */
- if (buffer[0] == '@')
+ if (buffer[0] == '@') {
+#ifdef HAVE_INNETGR
good &= innetgr (&buffer[1], NULL, user, NULL);
+#else
+ good = 0;
+ pam_syslog (pamh, LOG_ERR, "pam_time does not have netgroup support");
+#endif /* HAVE_INNETGR */
+ }
else
good &= logic_field(pamh, user, buffer, count, is_same);
D(("with user: %s", good ? "passes":"fails" ));
--
2.4.3
|
shibajee/buildroot
|
package/linux-pam/0003-Conditionally-compile-per-innetgr-availability.patch
|
patch
|
mit
| 2,815 |
config BR2_PACKAGE_LINUX_PAM
bool "linux-pam"
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
select BR2_PACKAGE_FLEX
depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR)
# While linux-pam does have some support for statically linked
# modules (through --enable-static-modules), it doesn't work
# properly due to a build cycle between libpam and
# modules. See
# https://lists.fedorahosted.org/pipermail/linux-pam-commits/2012-February/000105.html
# for details.
depends on !BR2_STATIC_LIBS
depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
depends on BR2_USE_MMU # fork()
help
A Security Framework that Provides Authentication for Applications
http://linux-pam.org
comment "linux-pam needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library"
depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
|| BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
|
shibajee/buildroot
|
package/linux-pam/Config.in
|
in
|
mit
| 879 |
# Locally computed hashes, not provided by upstream
sha256 342b1211c0d3b203a7df2540a5b03a428a087bd8a48c17e49ae268f992b334d9 Linux-PAM-1.2.1.tar.bz2
|
shibajee/buildroot
|
package/linux-pam/linux-pam.hash
|
hash
|
mit
| 148 |
################################################################################
#
# linux-pam
#
################################################################################
LINUX_PAM_VERSION = 1.2.1
LINUX_PAM_SOURCE = Linux-PAM-$(LINUX_PAM_VERSION).tar.bz2
LINUX_PAM_SITE = http://linux-pam.org/library
LINUX_PAM_INSTALL_STAGING = YES
LINUX_PAM_CONF_OPTS = \
--disable-prelude \
--disable-isadir \
--disable-nis \
--disable-db \
--disable-regenerate-docu \
--enable-securedir=/lib/security \
--libdir=/lib
LINUX_PAM_DEPENDENCIES = flex host-flex host-pkgconf
LINUX_PAM_AUTORECONF = YES
LINUX_PAM_LICENSE = BSD-3c
LINUX_PAM_LICENSE_FILES = Copyright
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
LINUX_PAM_DEPENDENCIES += gettext
LINUX_PAM_MAKE_OPTS += LIBS=-lintl
endif
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
LINUX_PAM_CONF_OPTS += --enable-selinux
LINUX_PAM_DEPENDENCIES += libselinux
else
LINUX_PAM_CONF_OPTS += --disable-selinux
endif
ifeq ($(BR2_PACKAGE_AUDIT),y)
LINUX_PAM_CONF_OPTS += --enable-audit
LINUX_PAM_DEPENDENCIES += audit
else
LINUX_PAM_CONF_OPTS += --disable-audit
endif
# Install default pam config (deny everything except login)
define LINUX_PAM_INSTALL_CONFIG
$(INSTALL) -m 0644 -D package/linux-pam/login.pam \
$(TARGET_DIR)/etc/pam.d/login
$(INSTALL) -m 0644 -D package/linux-pam/other.pam \
$(TARGET_DIR)/etc/pam.d/other
endef
LINUX_PAM_POST_INSTALL_TARGET_HOOKS += LINUX_PAM_INSTALL_CONFIG
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/linux-pam/linux-pam.mk
|
mk
|
mit
| 1,458 |
auth required pam_unix.so nullok
account required pam_unix.so
password required pam_unix.so nullok
session required pam_limits.so
session required pam_env.so
session required pam_unix.so
session optional pam_lastlog.so
|
shibajee/buildroot
|
package/linux-pam/login.pam
|
pam
|
mit
| 228 |
auth required pam_deny.so
account required pam_deny.so
password required pam_deny.so
session required pam_deny.so
|
shibajee/buildroot
|
package/linux-pam/other.pam
|
pam
|
mit
| 120 |
From 98187a5238939edc889fdaad93b00628b55d1e08 Mon Sep 17 00:00:00 2001
From: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Date: Sat, 3 May 2014 19:43:20 +0200
Subject: [PATCH] test-serial: Remove test-serial
This folders only contains python tests scripts which would force us to
enable a dependency to host-python which seems kind of silly since
theses are only tests scripts.
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
Makefile.am | 2 +-
configure.ac | 6 ------
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 265f0d7..e7bb1a1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,7 @@ include $(top_srcdir)/Makefile.common
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = lib addrdb src tests test-serial
+SUBDIRS = lib addrdb src tests
include_HEADERS = include/ieee802154.h include/nl802154.h
noinst_HEADERS = include/libcommon.h include/addrdb.h include/logging.h
diff --git a/configure.ac b/configure.ac
index 17658af..506b289 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,11 +77,6 @@ AC_PROG_LIBTOOL
AM_PROG_LEX
AC_PROG_YACC
AC_SUBST(LIBTOOL_DEPS)
-# Currently the scripts works with python2.x only
-# Check for this at first
-AC_PATH_PROG(PYTHON, python2 python2.7 python2.6 python2.5 python)
-AM_PATH_PYTHON(,, [:])
-py_CHECK_MAJOR_VERSION([PYTHON_VERSION], [2])
AM_MISSING_PROG(HELP2MAN, help2man, $missing_dir)
# Checks for libraries.
@@ -135,6 +130,5 @@ AC_CONFIG_FILES([
addrdb/Makefile
src/Makefile
tests/Makefile
- test-serial/Makefile
])
AC_OUTPUT
--
1.9.2
|
shibajee/buildroot
|
package/linux-zigbee/0001-test-serial-Remove-test-serial.patch
|
patch
|
mit
| 1,571 |
From 8cc60d618f81f2eeaa926cd60ed9b55ee6cda6ea Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Mon, 8 Aug 2016 15:42:46 +0200
Subject: [PATCH] addrdb/coord-config-parse.y: add missing <time.h> include
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The %union definition uses the time_t structure. In order to use this
structure, the <time.h> header has to be included. Otherwise, the build
breaks with some C libraries, such as musl:
In file included from coord-config-lex.l:23:0:
coord-config-parse.y:107:2: error: unknown type name ‘time_t’
time_t timestamp;
^
This patch includes <time.h> using the '%code requires' directive of
Yacc.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
addrdb/coord-config-parse.y | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/addrdb/coord-config-parse.y b/addrdb/coord-config-parse.y
index 2e10a88..85ee058 100644
--- a/addrdb/coord-config-parse.y
+++ b/addrdb/coord-config-parse.y
@@ -102,6 +102,10 @@
%}
+%code requires {
+#include <time.h>
+}
+
%union {
unsigned long number;
time_t timestamp;
--
2.7.4
|
shibajee/buildroot
|
package/linux-zigbee/0002-addrdb-coord-config-parse.y-add-missing-time.h-inclu.patch
|
patch
|
mit
| 1,187 |
comment "linux-zigbee needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU
config BR2_PACKAGE_LINUX_ZIGBEE
bool "linux-zigbee"
depends on BR2_USE_MMU # fork()
depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
select BR2_PACKAGE_LIBNL
help
IEEE 802.15.4 is a standard for communication in small
low-rate wireless personal area networks (WPAN). While
802.15.4 is a MAC- and PHY- layer standard only, several
common protocols commonly sit on top of it such as ZigBee,
MiWi, and 6LoWPAN. The goal of this project is to create an
implementation of 802.15.4 and several of the protocols
which run on top of it (primarily 6LoWPAN) for Linux.
It's worth noting that the name linux-zigbee is somewhat of
a misnomer. While this project was originally started to
create a ZigBee implementation for Linux, licensing
restrictions put in place by the ZigBee Alliance make it
impossible for an implementation of ZigBee to ever become
part of the Linux kernel. Once this licensing issue was
discovered, this project's primary focus shifted to IEEE
802.15.4 and 6LoWPAN. Other higher-layer standards may be
added at a future time.
The 802.15.4 stack contains kernel components, which are
part of the mainline Linux kernel, and userspace components,
available in this package.
http://sourceforge.net/apps/trac/linux-zigbee/
if BR2_PACKAGE_LINUX_ZIGBEE
config BR2_PACKAGE_LINUX_ZIGBEE_TESTS
bool "tests programs"
help
Enable this option to install the Linux-ZigBee test programs
to the target.
config BR2_PACKAGE_LINUX_ZIGBEE_OLD_KERNEL_COMPAT
bool "compatibility with older kernels"
help
Enable this option to get compatibility of the Linux-ZigBee
userspace tools with old kernels. Recent kernels know the
802.15.4 line discipline as N_IEEE802154 with the value 25,
but some older kernels had it with the values 22 or 19.
config BR2_PACKAGE_LINUX_ZIGBEE_LEASEFILE
string "path for persistent lease storage"
default "/var/run/izcoordinator.leases"
endif
|
shibajee/buildroot
|
package/linux-zigbee/Config.in
|
in
|
mit
| 2,069 |
################################################################################
#
# linux-zigbee
#
################################################################################
LINUX_ZIGBEE_VERSION = v0.3.1
LINUX_ZIGBEE_SITE = git://linux-zigbee.git.sourceforge.net/gitroot/linux-zigbee/linux-zigbee
LINUX_ZIGBEE_LICENSE = GPLv2
LINUX_ZIGBEE_LICENSE_FILES = COPYING
LINUX_ZIGBEE_DEPENDENCIES = libnl host-pkgconf host-flex host-bison
# We patch configure.ac/Makefile.am
LINUX_ZIGBEE_AUTORECONF = YES
LINUX_ZIGBEE_CONF_OPTS = \
--disable-manpages \
--with-leasefile="$(call qstrip,$(BR2_PACKAGE_LINUX_ZIGBEE_LEASEFILE))"
ifeq ($(BR2_PACKAGE_LINUX_ZIGBEE_TESTS),y)
LINUX_ZIGBEE_CONF_OPTS += --with-zbtestdir='/usr/sbin/'
else
LINUX_ZIGBEE_CONF_OPTS += --with-zbtestdir=''
endif
ifeq ($(BR2_PACKAGE_LINUX_ZIGBEE_OLD_KERNEL_COMPAT),y)
LINUX_ZIGBEE_CONF_OPTS += --enable-kernel-compat
endif
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/linux-zigbee/linux-zigbee.mk
|
mk
|
mit
| 927 |
comment "liquid-dsp requires a glibc or musl toolchain w/ dynamic library"
depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) || BR2_STATIC_LIBS
config BR2_PACKAGE_LIQUID_DSP
bool "liquid-dsp"
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL
depends on !BR2_STATIC_LIBS
help
Liquid-DSP is a free and open-source signal processing
library for software-defined radios written in C. Its
purpose is to provide a set of extensible DSP modules that
do no rely on external dependencies or cumbersome
frameworks.
http://liquidsdr.org/
if BR2_PACKAGE_LIQUID_DSP
config BR2_PACKAGE_LIQUID_DSP_FAST
bool "optimize for speed over accuracy"
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH
help
Optimize for speed over accuracy.
endif
|
shibajee/buildroot
|
package/liquid-dsp/Config.in
|
in
|
mit
| 788 |
# Locally calculated
sha256 d0f050b9d5137c43ba45a35b6c82bc8222eba86f772f4e2e46c91427647bb847 liquid-dsp-1191179b786703b3af20abf7e1404d91099b335d.tar.gz
|
shibajee/buildroot
|
package/liquid-dsp/liquid-dsp.hash
|
hash
|
mit
| 152 |
################################################################################
#
# liquid-dsp
#
################################################################################
LIQUID_DSP_VERSION = 1191179b786703b3af20abf7e1404d91099b335d
LIQUID_DSP_SITE = $(call github,jgaeddert,liquid-dsp,$(LIQUID_DSP_VERSION))
LIQUID_DSP_LICENSE = MIT
LIQUID_DSP_LICENSE_FILES = LICENSE
LIQUID_DSP_INSTALL_STAGING = YES
LIQUID_DSP_AUTORECONF = YES
LIQUID_DSP_CONF_ENV = \
ax_cv_have_mmx_ext=$(if $(BR2_X86_CPU_HAS_MMX),yes,no) \
ax_cv_have_sse_ext=$(if $(BR2_X86_CPU_HAS_SSE),yes,no) \
ax_cv_have_sse2_ext=$(if $(BR2_X86_CPU_HAS_SSE2),yes,no) \
ax_cv_have_sse3_ext=$(if $(BR2_X86_CPU_HAS_SSE3),yes,no) \
ax_cv_have_ssse3_ext=$(if $(BR2_X86_CPU_HAS_SSSE3),yes,no) \
ax_cv_have_sse41_ext=$(if $(BR2_X86_CPU_HAS_SSE4),yes,no) \
ax_cv_have_sse42_ext=$(if $(BR2_X86_CPU_HAS_SSE42),yes,no) \
ax_cv_have_avx_ext=$(if $(BR2_X86_CPU_HAS_AVX),yes,no)
LIQUID_DSP_CFLAGS = $(TARGET_CFLAGS)
LIQUID_DSP_LDFLAGS = $(TARGET_LDFLAGS)
# Speed over accuracy trade off
ifeq ($(BR2_PACKAGE_LIQUID_DSP_FAST),y)
LIQUID_DSP_CFLAGS += -ffast-math
endif
# use FFTW instead of built-in FFT
ifeq ($(BR2_PACKAGE_FFTW_PRECISION_SINGLE),y)
LIQUID_DSP_LDFLAGS += -lfftw3f
endif
# disable altivec, it has build issues
ifeq ($(BR2_powerpc)$(BR2_powerpc64),y)
LIQUID_DSP_CONF_OPTS += --enable-simdoverride
endif
ifeq ($(BR2_PACKAGE_FFTW_PRECISION_DOUBLE),y)
LIQUID_DSP_LDFLAGS += -lfftw3
endif
ifeq ($(BR2_PACKAGE_FFTW_PRECISION_LONG_DOUBLE),y)
LIQUID_DSP_LDFLAGS += -lfftw3l
endif
LIQUID_DSP_CONF_OPTS += \
CFLAGS="$(LIQUID_DSP_CFLAGS)" \
LDFLAGS="$(LIQUID_DSP_LDFLAGS)"
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/liquid-dsp/liquid-dsp.mk
|
mk
|
mit
| 1,676 |
From f2fc8c48e5e55a91b309225f377b6cb3783fc6f6 Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Wed, 25 May 2016 15:21:57 +0200
Subject: [PATCH] lib: use proper linking method to avoid parallel build issue
Using <foo>_LDFLAGS = -l<library> is correct when <library> is an
external library. However, when it is built by the same package, and
especially in the same directory, this is wrong and can cause parallel
build issues. In lib/Makefile.am, there was:
libirrecord_la_LDFLAGS = -llirc
But the liblirc library is built in the same directory. Or, due to the
using of <foo>_LDFLAGS, make is not aware of the build dependency
between libirrecord and liblirc.
To solve this, <foo>_LIBADD should be used instead, as follows:
libirrecord_la_LIBADD = liblirc.la
This fixes parallel build issues seen by automated build tests
conducted by the Buildroot project, such as:
http://autobuild.buildroot.org/results/eb4/eb47d57de8182d25b1dacbf0ac3726ed20063d04/build-end.log
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
lib/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Makefile.am b/lib/Makefile.am
index ce5c94c..8780f88 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -29,7 +29,7 @@ liblirc_la_SOURCES = config_file.c \
transmit.c \
util.c
-libirrecord_la_LDFLAGS = -llirc
+libirrecord_la_LIBADD = liblirc.la
libirrecord_la_SOURCES = irrecord.c
liblirc_client_la_LDFLAGS = -version-info 4:0:4
--
2.7.4
|
shibajee/buildroot
|
package/lirc-tools/0001-lib-use-proper-linking-method-to-avoid-parallel-buil.patch
|
patch
|
mit
| 1,628 |
From c861eae83bae3116d330efb3c6061e2de4fdcbce Mon Sep 17 00:00:00 2001
From: Baruch Siach <baruch@tkos.co.il>
Date: Sun, 5 Apr 2015 22:26:12 +0300
Subject: [PATCH] tools: make_rel_symlink.py can also use python2
The make_rel_symlink.py script is compatible with both python2 and python3.
Don't hard code a requirement for python3.
Patch status: sent upstream
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
tools/make_rel_symlink.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/make_rel_symlink.py b/tools/make_rel_symlink.py
index 896637ff93e0..ff0403a0397a 100755
--- a/tools/make_rel_symlink.py
+++ b/tools/make_rel_symlink.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python
import os
import os.path
--
2.1.4
|
shibajee/buildroot
|
package/lirc-tools/0002-tools-make_rel_symlink.py-can-also-use-python2.patch
|
patch
|
mit
| 770 |
From f346045e0f63289909322a3264e69b967a911636 Mon Sep 17 00:00:00 2001
From: Alec Leamas <leamas.alec@gmail.com>
Date: Tue, 24 May 2016 19:56:09 +0200
Subject: [PATCH] Don't build commandir unless we have usb.h (#191).
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
(backported from git master:
https://sourceforge.net/p/lirc/git/ci/f346045e0f63289909322a3264e69b967a911636/tree/plugins/Makefile.am?diff=4b26eb383291576b3f56820c6cec5f6a75814807)
---
plugins/Makefile.am | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 3bd89ed..2116658 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -14,6 +14,7 @@ EXTRA_DIST = pluginlist.am make-pluginlist.sh
plugin_LTLIBRARIES =
if BUILD_USB
+
plugin_LTLIBRARIES += atilibusb.la
atilibusb_la_SOURCES = atilibusb.c
atilibusb_la_LDFLAGS = $(AM_LDFLAGS) @usb_libs@
@@ -33,6 +34,14 @@ plugin_LTLIBRARIES += srm7500libusb.la
srm7500libusb_la_SOURCES = srm7500libusb.c
srm7500libusb_la_LDFLAGS = $(AM_LDFLAGS) @usb_libs@
srm7500libusb_la_CFLAGS = $(AM_CFLAGS) $(LIBUSB_CFLAGS)
+
+if !BSD
+plugin_LTLIBRARIES += commandir.la
+commandir_la_SOURCES = commandir.c
+commandir_la_LDFLAGS = $(AM_LDFLAGS) @usb_libs@
+commandir_la_CFLAGS = $(AM_CFLAGS) $(LIBUSB_CFLAGS)
+endif
+
endif
if BUILD_FTDI
@@ -99,11 +108,6 @@ if !BSD
plugin_LTLIBRARIES += default.la
default_la_SOURCES = default.c
-plugin_LTLIBRARIES += commandir.la
-commandir_la_SOURCES = commandir.c
-commandir_la_LDFLAGS = $(AM_LDFLAGS) @usb_libs@
-commandir_la_CFLAGS = $(AM_CFLAGS) $(LIBUSB_CFLAGS)
-
plugin_LTLIBRARIES += hiddev.la
hiddev_la_SOURCES = hiddev.c
--
2.8.1
|
shibajee/buildroot
|
package/lirc-tools/0003-Don-t-build-commandir-unless-we-have-usb.h-191.patch
|
patch
|
mit
| 1,856 |
From e654ae139cec42a6f1b5684261787d0c241cfd3b Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Fri, 19 Aug 2016 15:25:48 +0200
Subject: [PATCH] configure: check for clock_gettime in librt
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
configure.ac | 3 +++
daemons/Makefile.am | 2 +-
plugins/Makefile.am | 1 +
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 73340c7..466e638 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,6 +67,9 @@ AC_CHECK_FUNCS(gethostname gettimeofday mkfifo select socket strdup \
AC_SEARCH_LIBS([dlopen], [dl dld], [], [
AC_MSG_ERROR([unable to find the dlopen() function])
])
+# glibc < 2.17 needs librt for clock_gettime()
+AC_CHECK_LIB(rt, clock_gettime, LIBCLOCK_GETTIME="-lrt")
+AC_SUBST(LIBCLOCK_GETTIME)
AC_CHECK_FUNCS(daemon)
if test "$ac_cv_func_daemon" != yes; then
daemon=""
diff --git a/daemons/Makefile.am b/daemons/Makefile.am
index 5625627..85a28f3 100644
--- a/daemons/Makefile.am
+++ b/daemons/Makefile.am
@@ -21,7 +21,7 @@ sbin_PROGRAMS += lircd-uinput
endif
lircd_SOURCES = lircd.cpp
-lircd_LDADD = ../lib/liblirc.la
+lircd_LDADD = ../lib/liblirc.la @LIBCLOCK_GETTIME@
lircd_uinput_SOURCES = lircd-uinput.cpp
lircd_uinput_LDADD = ../lib/liblirc.la
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index ddff01d..45c012a 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -127,6 +127,7 @@ zotac_la_SOURCES = zotac.c
plugin_LTLIBRARIES += mplay.la
mplay_la_SOURCES = mplay.c
+mplay_la_LIBADD = @LIBCLOCK_GETTIME@
endif
$(srcdir)/pluginlist.am:
--
2.7.4
|
shibajee/buildroot
|
package/lirc-tools/0004-configure-check-for-clock_gettime-in-librt.patch
|
patch
|
mit
| 1,766 |
config BR2_PACKAGE_LIRC_TOOLS
bool "lirc-tools"
depends on BR2_USE_MMU # fork()
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_TOOLCHAIN_USES_MUSL # GLOB_BRACE
# dlopen()
depends on !BR2_STATIC_LIBS
help
LIRC is a package that supports receiving and sending IR
signals of the most common IR remote controls. It contains a
daemon that decodes and sends IR signals, a mouse daemon
that translates IR signals to mouse movements and a couple
of user programs that allow to control your computer with a
remote control.
It requires the kernel LIRC interface driver, make sure to
enable the kernel drivers to support your hardware.
http://www.lirc.org/
comment "lirc-tools needs a uClibc or glibc toolchain w/ threads, dynamic library, C++"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
|| !BR2_INSTALL_LIBSTDCPP || BR2_TOOLCHAIN_USES_MUSL
|
shibajee/buildroot
|
package/lirc-tools/Config.in
|
in
|
mit
| 950 |
#!/bin/sh
#
# Start lirc
#
# Support for remotes - Add remotes to /etc/lirc/lircd.conf.d/
#
start() {
printf "Starting lirc: "
mkdir -p /var/run/lirc
ln -sf /var/run/lirc/lircd /dev/lircd
start-stop-daemon -b -S -q -m -p /var/run/lirc.pid --exec /usr/sbin/lircd -- -n -O /etc/lirc/lirc_options.conf
echo "OK"
}
stop() {
printf "Stopping lirc: "
start-stop-daemon -K -q -p /var/run/lirc.pid
echo "OK"
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
stop
start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit $?
|
shibajee/buildroot
|
package/lirc-tools/S25lircd
|
none
|
mit
| 565 |
# hash from http://sourceforge.net/projects/lirc/files/LIRC/0.9.4/
sha1 79d2300b4864ed85d6468d554ac777f39b6740ac lirc-0.9.4.tar.bz2
md5 da6aca942154256bff696d1ffa3ef646 lirc-0.9.4.tar.bz2
|
shibajee/buildroot
|
package/lirc-tools/lirc-tools.hash
|
hash
|
mit
| 188 |
################################################################################
#
# lirc-tools
#
################################################################################
LIRC_TOOLS_VERSION = 0.9.4
LIRC_TOOLS_SOURCE = lirc-$(LIRC_TOOLS_VERSION).tar.bz2
LIRC_TOOLS_SITE = http://downloads.sourceforge.net/project/lirc/LIRC/$(LIRC_TOOLS_VERSION)
LIRC_TOOLS_LICENSE = GPLv2+
LIRC_TOOLS_LICENSE_FILES = COPYING
LIRC_TOOLS_DEPENDENCIES = host-libxslt host-pkgconf host-python3
LIRC_TOOLS_INSTALL_STAGING = YES
# 0001-lib-use-proper-linking-method-to-avoid-parallel-buil.patch
# 0003-Don-t-build-commandir-unless-we-have-usb.h-191.patch
# 0004-configure-check-for-clock_gettime-in-librt.patch
LIRC_TOOLS_AUTORECONF = YES
LIRC_TOOLS_CONF_ENV = XSLTPROC=yes
LIRC_TOOLS_CONF_OPTS = --without-x
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
LIRC_TOOLS_DEPENDENCIES += udev
endif
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
LIRC_TOOLS_DEPENDENCIES += alsa-lib
endif
ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y)
LIRC_TOOLS_DEPENDENCIES += libusb-compat
endif
ifeq ($(BR2_PACKAGE_PORTAUDIO),y)
LIRC_TOOLS_DEPENDENCIES += portaudio
endif
define LIRC_TOOLS_INSTALL_INIT_SYSV
$(INSTALL) -D -m 0755 package/lirc-tools/S25lircd \
$(TARGET_DIR)/etc/init.d/S25lircd
endef
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/lirc-tools/lirc-tools.mk
|
mk
|
mit
| 1,269 |
From upstream git (git://git.directfb.org/git/directfb/libs/LiTE.git)
From ffe0ce78327a63ddb1265328ea9b5b03acdca019 Mon Sep 17 00:00:00 2001
From: Denis Oliver Kropp <dok@directfb.org>
Date: Fri, 1 Apr 2011 20:20:26 +0200
Subject: [PATCH] dfbspy: Build fix for dfbspy example.
---
examples/dfbspy.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/examples/dfbspy.c b/examples/dfbspy.c
index 5f36f0b..c7f9725 100644
--- a/examples/dfbspy.c
+++ b/examples/dfbspy.c
@@ -89,9 +89,9 @@ read_stat( FusionStat *stat, int world )
/**************************************************************************************************/
-#define CALC(x) stat.x = (int)(((s.x - last_stat.x) * 1000 / (float) diff) + 0.5f)
+#define CALC(x) stats.x = (int)(((s.x - last_stat.x) * 1000 / (float) diff) + 0.5f)
-static FusionStat last_stat, stat;
+static FusionStat last_stat, stats;
static long long last_millis;
static int
@@ -145,14 +145,14 @@ static const struct {
void (*update)( LiteLabel *label, void *ctx );
void *ctx;
} list[] = {
- { "lease/purchase", update_number, &stat.lease_purchase },
- { "cede", update_number, &stat.cede },
- { "attach", update_number, &stat.attach },
- { "detach", update_number, &stat.detach },
- { "ref up", update_number, &stat.ref_up },
- { "ref down", update_number, &stat.ref_down },
- { "prevail/swoop", update_number, &stat.prevail_swoop },
- { "dismiss", update_number, &stat.dismiss }
+ { "lease/purchase", update_number, &stats.lease_purchase },
+ { "cede", update_number, &stats.cede },
+ { "attach", update_number, &stats.attach },
+ { "detach", update_number, &stats.detach },
+ { "ref up", update_number, &stats.ref_up },
+ { "ref down", update_number, &stats.ref_down },
+ { "prevail/swoop", update_number, &stats.prevail_swoop },
+ { "dismiss", update_number, &stats.dismiss }
};
#define NUM_LIST (sizeof(list)/sizeof(list[0]))
--
1.7.6.3
|
shibajee/buildroot
|
package/lite/0001-dfbspy-stat.patch
|
patch
|
mit
| 2,143 |
--- a/Makefile.in.orig 2008-07-07 13:07:12.000000000 +0200
+++ b/Makefile.in 2008-07-07 13:07:05.000000000 +0200
@@ -202,7 +202,7 @@
target_vendor = @target_vendor@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-SUBDIRS = data fonts lite leck examples tests
+SUBDIRS = data fonts lite leck examples
EXTRA_DIST = TODO lite.pc.in leck.pc.in
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = lite.pc leck.pc
|
shibajee/buildroot
|
package/lite/0002-no-tests.patch
|
patch
|
mit
| 423 |
From 7982cccbb6ad58f3802bb266467290200d130a48 Mon Sep 17 00:00:00 2001
From: Ville Syrjala <syrjala@sci.fi>
Date: Sat, 27 Nov 2010 01:14:25 +0200
Subject: [PATCH] Too many '\' characters in the .pc file
---
lite.pc.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lite.pc.in b/lite.pc.in
index 48eb969..3a21eaa 100644
--- a/lite.pc.in
+++ b/lite.pc.in
@@ -9,4 +9,4 @@ Description: "LiTE" is a Toolkit Engine
Requires: directfb >= @DFB_REQUIRED_VERSION@
Version: @VERSION@
Libs: -L${libdir} -llite
-Cflags: -I${includedir} -DLITEFONTDIR=\\\"@LITEFONTDIR@\\\"
+Cflags: -I${includedir} -DLITEFONTDIR=\"@LITEFONTDIR@\"
--
1.7.1
|
shibajee/buildroot
|
package/lite/0003-pkg-config.patch
|
patch
|
mit
| 658 |
config BR2_PACKAGE_LITE
bool "LiTE (toolbox engine)"
depends on BR2_PACKAGE_DIRECTFB
help
LiTE stands for LiTE is a Toolbox Engine.
Its role is to facilitate the functions of DirectFB so that a
toolbox could be written on top of DirectFB with less effort.
As such LiTE has abstractions for the underlying graphics and
event systems.
See http://www.directfb.org/wiki/index.php/LiTE:Architecture
|
shibajee/buildroot
|
package/lite/Config.in
|
in
|
mit
| 416 |
# Locally calculated
sha256 1b784cf595c3d5313e3705db210119f77d48826dbc7fcf6328af83a1270c2264 LiTE-0.8.10.tar.gz
|
shibajee/buildroot
|
package/lite/lite.hash
|
hash
|
mit
| 112 |
################################################################################
#
# lite
#
################################################################################
LITE_VERSION = 0.8.10
LITE_SOURCE = LiTE-$(LITE_VERSION).tar.gz
LITE_SITE = http://www.directfb.org/downloads/Libs
LITE_INSTALL_STAGING = YES
LITE_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LDFLAGS=-L$(STAGING_DIR)/usr/lib install
LITE_CONF_ENV = DFB_CFLAGS=-I$(STAGING_DIR)/usr/include/directfb
LITE_DEPENDENCIES = directfb
LITE_LICENSE = LGPLv2.1+
LITE_LICENSE_FILES = COPYING
define LITE_FINALIZE_INSTALL
$(INSTALL) -d $(TARGET_DIR)/usr/share/LiTE/examples/
$(INSTALL) -d $(TARGET_DIR)/usr/share/fonts/truetype/
$(INSTALL) -m0644 $(@D)/data/*.png $(TARGET_DIR)/usr/share/LiTE/
$(INSTALL) -m0644 $(@D)/examples/*.png $(TARGET_DIR)/usr/share/LiTE/examples/
$(INSTALL) -m0644 $(@D)/fonts/*.ttf $(TARGET_DIR)/usr/share/fonts/truetype/
endef
LITE_POST_INSTALL_TARGET_HOOKS += LITE_FINALIZE_INSTALL
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/lite/lite.mk
|
mk
|
mit
| 1,010 |
config BR2_PACKAGE_LIVE555
bool "live555"
depends on BR2_INSTALL_LIBSTDCPP
help
LIVE555 Streaming Media forms a set of C++ libraries for multimedia
streaming, using open standard protocols (RTP/RTCP, RTSP, SIP).
http://www.live555.com/liveMedia/
comment "live555 needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP
|
shibajee/buildroot
|
package/live555/Config.in
|
in
|
mit
| 338 |
# From http://live555.com/liveMedia/public/live555-latest-md5.txt
md5 df4ad1d60c2f5ae8155fb077bb011ab3 live.2016.03.16.tar.gz
# Locally generated
sha256 6f98a96d4cf6e986c7711f0a2431c02cb807a8107d6715eb491a6ed9d0446cf6 live.2016.03.16.tar.gz
|
shibajee/buildroot
|
package/live555/live555.hash
|
hash
|
mit
| 241 |
################################################################################
#
# live555
#
################################################################################
LIVE555_VERSION = 2016.03.16
LIVE555_SOURCE = live.$(LIVE555_VERSION).tar.gz
LIVE555_SITE = http://www.live555.com/liveMedia/public
LIVE555_LICENSE = LGPLv2.1+
LIVE555_LICENSE_FILES = COPYING
LIVE555_INSTALL_STAGING = YES
LIVE555_CFLAGS = $(TARGET_CFLAGS)
ifeq ($(BR2_STATIC_LIBS),y)
LIVE555_CONFIG_TARGET = linux
LIVE555_LIBRARY_LINK = $(TARGET_AR) cr
else
LIVE555_CONFIG_TARGET = linux-with-shared-libraries
LIVE555_LIBRARY_LINK = $(TARGET_CC) -o
LIVE555_CFLAGS += -fPIC
endif
ifndef ($(BR2_ENABLE_LOCALE),y)
LIVE555_CFLAGS += -DLOCALE_NOT_USED
endif
define LIVE555_CONFIGURE_CMDS
echo 'COMPILE_OPTS = $$(INCLUDES) -I. -DSOCKLEN_T=socklen_t $(LIVE555_CFLAGS)' >> $(@D)/config.$(LIVE555_CONFIG_TARGET)
echo 'C_COMPILER = $(TARGET_CC)' >> $(@D)/config.$(LIVE555_CONFIG_TARGET)
echo 'CPLUSPLUS_COMPILER = $(TARGET_CXX)' >> $(@D)/config.$(LIVE555_CONFIG_TARGET)
echo 'LINK = $(TARGET_CXX) -o' >> $(@D)/config.$(LIVE555_CONFIG_TARGET)
echo 'LINK_OPTS = -L. $(TARGET_LDFLAGS)' >> $(@D)/config.$(LIVE555_CONFIG_TARGET)
echo 'PREFIX = /usr' >> $(@D)/config.$(LIVE555_CONFIG_TARGET)
# Must have a whitespace at the end of LIBRARY_LINK, otherwise static link
# fails
echo 'LIBRARY_LINK = $(LIVE555_LIBRARY_LINK) ' >> $(@D)/config.$(LIVE555_CONFIG_TARGET)
(cd $(@D); ./genMakefiles $(LIVE555_CONFIG_TARGET))
endef
define LIVE555_BUILD_CMDS
$(MAKE) -C $(@D) all
endef
define LIVE555_INSTALL_STAGING_CMDS
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(@D) install
endef
define LIVE555_INSTALL_TARGET_CMDS
$(MAKE) DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D) install
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/live555/live555.mk
|
mk
|
mit
| 1,774 |
config BR2_PACKAGE_LJLINENOISE
bool "ljlinenoise"
# run-time dependency only
select BR2_PACKAGE_LJSYSCALL
# ljsyscall is specifically for LuaJIT, not Lua.
depends on BR2_PACKAGE_LUAJIT
help
ljlinenoise is a pure LuaJIT port of linenoise,
a small alternative to readline and libedit.
http://fperrad.github.io/ljlinenoise/
comment "ljlinenoise needs LuaJIT"
depends on !BR2_PACKAGE_LUAJIT
|
shibajee/buildroot
|
package/ljlinenoise/Config.in
|
in
|
mit
| 405 |
# Locally calculated
sha256 a5fa2a88d8232bd0f97d3af9aafe780cd855830b42a9ab87c9ae2a5697b044a1 ljlinenoise-0.1.2-1.src.rock
|
shibajee/buildroot
|
package/ljlinenoise/ljlinenoise.hash
|
hash
|
mit
| 123 |
################################################################################
#
# ljlinenoise
#
################################################################################
LJLINENOISE_VERSION_UPSTREAM = 0.1.2
LJLINENOISE_VERSION = $(LJLINENOISE_VERSION_UPSTREAM)-1
LJLINENOISE_SUBDIR = ljlinenoise-$(LJLINENOISE_VERSION_UPSTREAM)
LJLINENOISE_LICENSE = MIT
LJLINENOISE_LICENSE_FILES = $(LJLINENOISE_SUBDIR)/COPYRIGHT
$(eval $(luarocks-package))
|
shibajee/buildroot
|
package/ljlinenoise/ljlinenoise.mk
|
mk
|
mit
| 454 |
config BR2_PACKAGE_LJSYSCALL
bool "ljsyscall"
# ljsyscall is specifically for LuaJIT, not Lua.
depends on BR2_PACKAGE_LUAJIT
help
An FFI implementation of the Linux and NetBSD kernel ABIs for LuaJIT.
http://github.com/justincormack/ljsyscall
comment "ljsyscall needs LuaJIT"
depends on !BR2_PACKAGE_LUAJIT
|
shibajee/buildroot
|
package/ljsyscall/Config.in
|
in
|
mit
| 320 |
# Locally calculated
sha256 9b5ba2b5798c5bc33aa2158f3b44f730de12497c195764aa1bc3d3f1244df198 ljsyscall-v0.10.tar.gz
|
shibajee/buildroot
|
package/ljsyscall/ljsyscall.hash
|
hash
|
mit
| 117 |
################################################################################
#
# ljsyscall
#
################################################################################
LJSYSCALL_VERSION = v0.10
LJSYSCALL_SITE = $(call github,justincormack,ljsyscall,$(LJSYSCALL_VERSION))
LJSYSCALL_LICENSE = MIT
LJSYSCALL_LICENSE_FILES = COPYRIGHT
# dispatch all architectures of LuaJIT
ifeq ($(BR2_i386),y)
LJSYSCALL_ARCH = x86
else ifeq ($(BR2_x86_64),y)
LJSYSCALL_ARCH = x64
else ifeq ($(BR2_powerpc),y)
LJSYSCALL_ARCH = ppc
else ifeq ($(BR2_arm)$(BR2_armeb),y)
LJSYSCALL_ARCH = arm
else ifeq ($(BR2_mips)$(BR2_mipsel),y)
LJSYSCALL_ARCH = mips
else
LJSYSCALL_ARCH = $(BR2_ARCH)
endif
LJSYSCALL_TARGET_DIR = $(TARGET_DIR)/usr/share/lua/$(LUAINTERPRETER_ABIVER)
define LJSYSCALL_INSTALL_TARGET_CMDS
$(INSTALL) -d $(LJSYSCALL_TARGET_DIR)/syscall
$(INSTALL) -m 0644 -t $(LJSYSCALL_TARGET_DIR)/ $(@D)/syscall.lua
$(INSTALL) -m 0644 -t $(LJSYSCALL_TARGET_DIR)/syscall $(@D)/syscall/*.lua
$(INSTALL) -d $(LJSYSCALL_TARGET_DIR)/syscall/linux/$(LJSYSCALL_ARCH)
$(INSTALL) -m 0644 -t $(LJSYSCALL_TARGET_DIR)/syscall/linux/ $(@D)/syscall/linux/*.lua
$(INSTALL) -m 0644 -t $(LJSYSCALL_TARGET_DIR)/syscall/linux/$(LJSYSCALL_ARCH) $(@D)/syscall/linux/$(LJSYSCALL_ARCH)/*.lua
$(INSTALL) -d $(LJSYSCALL_TARGET_DIR)/syscall/shared
$(INSTALL) -m 0644 -t $(LJSYSCALL_TARGET_DIR)/syscall/shared/ $(@D)/syscall/shared/*.lua
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/ljsyscall/ljsyscall.mk
|
mk
|
mit
| 1,447 |
config BR2_PACKAGE_LKSCTP_TOOLS
bool "lksctp-tools"
depends on BR2_USE_MMU # fork()
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_STATIC_LIBS # dlopen()
help
The lksctp-tools project provides a Linux user space library
for SCTP (libsctp) including C language header files
(netinet/sctp.h) for accessing SCTP specific application
programming interfaces not provided by the standard sockets,
and also some helper utilities around SCTP.
http://lksctp.sourceforge.net/
comment "lksctp-tools needs a toolchain w/ threads, dynamic library"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
shibajee/buildroot
|
package/lksctp-tools/Config.in
|
in
|
mit
| 648 |
# From https://sourceforge.net/projects/lksctp/files/lksctp-tools/
md5 68e9b8fa4d4e331029b247b72d46d7a5 lksctp-tools-1.0.17.tar.gz
sha1 941b0b5c39e364a971f514bba66120435660e518 lksctp-tools-1.0.17.tar.gz
|
shibajee/buildroot
|
package/lksctp-tools/lksctp-tools.hash
|
hash
|
mit
| 204 |
################################################################################
#
# lksctp-tools
#
################################################################################
LKSCTP_TOOLS_VERSION = 1.0.17
LKSCTP_TOOLS_SITE = http://downloads.sourceforge.net/project/lksctp/lksctp-tools
LKSCTP_TOOLS_INSTALL_STAGING = YES
# configure not shipped
LKSCTP_TOOLS_AUTORECONF = YES
LKSCTP_TOOLS_LICENSE = LGPLv2.1 (library), GPLv2+ (programs)
LKSCTP_TOOLS_LICENSE_FILES = COPYING.lib COPYING
LKSCTP_TOOLS_CONF_OPTS = --disable-tests
# Cleanup installed target source code
define LKSCTP_TOOLS_CLEANUP_TARGET
rm -rf $(TARGET_DIR)/usr/share/lksctp-tools
endef
LKSCTP_TOOLS_POST_INSTALL_TARGET_HOOKS += LKSCTP_TOOLS_CLEANUP_TARGET
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/lksctp-tools/lksctp-tools.mk
|
mk
|
mit
| 759 |
From 106aa50d4e5b336f7dd2d5cf4d882e692d205e91 Mon Sep 17 00:00:00 2001
From: Vincent Bernat <vincent@bernat.im>
Date: Sat, 18 Jun 2016 22:18:41 +0200
Subject: [PATCH] build: make generation of atom-glue compatible with older gcc
versions
With old versions, cpp doesn't accept several files as input. See #186.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
---
src/lib/Makefile.am | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 250e32a..2a5cdb3 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -20,8 +20,9 @@ nodist_liblldpctl_la_SOURCES = atom-glue.c
liblldpctl_la_LIBADD = $(top_builddir)/src/libcommon-daemon-lib.la libfixedpoint.la
atom-glue.c: $(ATOM_FILES) Makefile
- $(AM_V_GEN)($(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(ATOM_FILES:%=$(srcdir)/%) | \
+ $(AM_V_GEN)(for f in $(ATOM_FILES:%=$(srcdir)/%); do \
+ $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $$f; done | \
$(SED) -n 's+^void init_atom_builder_\([^(]*\)().*, \([0-9]*\)).*+\2 \1+p' | \
sort | \
$(AWK) '{ atoms[$$2] = 1 } \
@@ -30,8 +31,9 @@ atom-glue.c: $(ATOM_FILES) Makefile
print " static int init = 0; if (init) return; init++;"; \
for (atom in atoms) { print " init_atom_builder_"atom"();" } \
print "}"; }' && \
+ for f in $(ATOM_FILES:%=$(srcdir)/%); do \
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(ATOM_FILES:%=$(srcdir)/%) | \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $$f; done | \
$(SED) -n 's+^void init_atom_map_\([^(]*\)().*, \([0-9]*\)).*+\2 \1+p' | \
sort -n | \
$(AWK) '{ atoms[$$2] = 1 } \
--
2.9.0
|
shibajee/buildroot
|
package/lldpd/0001-build-make-generation-of-atom-glue-compatible-with-o.patch
|
patch
|
mit
| 1,862 |
From 0801a066cd4a24a858ddfa7c62c7802e0f5533a8 Mon Sep 17 00:00:00 2001
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
Date: Sun, 14 Aug 2016 12:15:17 +0200
Subject: [PATCH] configure: do not check for libbsd
libbsd causes build issues because its libbsd-overlay.pc file is borked:
it contains -isystem in CFLAGS, which is not munged by pkgconf, so we
end up using the headers of the build machine, causing all sorts of
hard-to-debug trouble at build time.
lldpd uses libbsd-overlay for a few helper functions, but has fallbacks
in case it is not available. The only feature that is lost when not using
it is that the neighbour name is no longer displayed in /proc/self/cmdline.
As the author of lldpd said on IRC: "people should survive! ;-)"
So we just remove the detection of libbsd altogether.
Fixes:
http://autobuild.buildroot.org/results/6b7/6b70fa379e834ec71cc260ba6af771b531ca3511/
http://autobuild.buildroot.org/results/769/769074c4bb67336ae6679f2c1cd2a8220d2bec24/
http://autobuild.buildroot.org/results/c8a/c8a6001f437701ecc75f6c9252935645bda8a8c8/
[...]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
configure.ac | 19 -------------------
1 file changed, 19 deletions(-)
diff --git a/configure.ac b/configure.ac
index dd723b0..45498ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -165,25 +165,6 @@ AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_FUNC_FORK
-# Some functions can be in libbsd
-PKG_CHECK_MODULES([libbsd], [libbsd-overlay], [
- _save_CFLAGS="$CFLAGS"
- _save_LIBS="$LIBS"
- CFLAGS="$CFLAGS $libbsd_CFLAGS"
- LIBS="$LIBS $libbsd_LIBS"
- AC_MSG_CHECKING([if libbsd can be linked correctly])
- AC_LINK_IFELSE([AC_LANG_SOURCE([[int main() { return 0; }]])],
- [
- AC_MSG_RESULT(yes)
- LLDP_CFLAGS="$LLDP_CFLAGS $libbsd_CFLAGS"
- LLDP_LDFLAGS="$LLDP_LDFLAGS $libbsd_LIBS"
- ],[
- AC_MSG_RESULT(no)
- CFLAGS="$_save_CFLAGS"
- LIBS="$_save_LIBS"
- ])
-], [:])
-
# setproctitle may have an _init function
AC_REPLACE_FUNCS([setproctitle])
AC_CHECK_FUNCS([setproctitle_init])
--
2.7.4
|
shibajee/buildroot
|
package/lldpd/0002-configure-do-not-check-for-libbsd.patch
|
patch
|
mit
| 2,082 |
config BR2_PACKAGE_LLDPD
bool "lldpd"
depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_LIBEVENT
help
lldpd is a 802.1ab implementation (LLDP) to help you locate
neighbors of all your equipments.
LLDP allows you to know exactly on which port is a server
(and reciprocally).
LLDP is an industry standard protocol designed to supplant
proprietary Link-Layer protocols such as EDP or CDP. The
goal of LLDP is to provide an inter-vendor compatible
mechanism to deliver Link-Layer notifications to adjacent
network devices.
lldpd is an ISC-licensed implementation of LLDP for various
Unixes. It also supports some proprietary protocols.
https://vincentbernat.github.io/lldpd/
if BR2_PACKAGE_LLDPD
config BR2_PACKAGE_LLDPD_CDP
bool "CDP"
default y
help
Enable Cisco Discovery Protocol
config BR2_PACKAGE_LLDPD_FDP
bool "FDP"
default y
help
Enable Foundry Discovery Protocol
config BR2_PACKAGE_LLDPD_EDP
bool "EDP"
default y
help
Enable Extreme Discovery Protocol
config BR2_PACKAGE_LLDPD_SONMP
bool "SONMP"
default y
help
Enable SynOptics Network Management
config BR2_PACKAGE_LLDPD_LLDPMED
bool "LLDP-MED"
default y
help
Enable LLDP-MED extension
config BR2_PACKAGE_LLDPD_DOT1
bool "DOT1"
default y
help
Enable Dot1 extension (VLAN stuff)
config BR2_PACKAGE_LLDPD_DOT3
bool "DOT3"
default y
help
Enable Dot3 extension (PHY stuff)
config BR2_PACKAGE_LLDPD_CUSTOM_TLV
bool "Custom TLV"
default y
help
Enable Custom TLV support
endif
|
shibajee/buildroot
|
package/lldpd/Config.in
|
in
|
mit
| 1,529 |
#!/bin/sh
#
# Controls lldpd.
#
case $1 in
start)
printf "Starting lldpd: "
start-stop-daemon -S -q -p /var/run/lldpd.pid --exec /usr/sbin/lldpd
[ $? = 0 ] && echo "OK" || echo "FAIL"
;;
stop)
printf "Stopping lldpd: "
start-stop-daemon -K -q -p /var/run/lldpd.pid
[ $? = 0 ] && echo "OK" || echo "FAIL"
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
;;
esac
|
shibajee/buildroot
|
package/lldpd/S60lldpd
|
none
|
mit
| 423 |
# Locally computed
sha256 eb1f5beff2ff5c13c5e0342b5b9da815ed4a63866262445e1168a79ee65c9079 lldpd-0.9.4.tar.gz
|
shibajee/buildroot
|
package/lldpd/lldpd.hash
|
hash
|
mit
| 111 |
################################################################################
#
# lldpd
#
################################################################################
LLDPD_VERSION = 0.9.4
LLDPD_SITE = http://media.luffy.cx/files/lldpd
LLDPD_DEPENDENCIES = host-pkgconf libevent
LLDPD_LICENSE = ISC
LLDPD_LICENSE_FILES = README.md
# 0002-configure-do-not-check-for-libbsd.patch
LLDPD_AUTORECONF = YES
ifeq ($(BR2_PACKAGE_CHECK),y)
LLDPD_DEPENDENCIES += check
endif
ifeq ($(BR2_PACKAGE_VALGRIND),y)
LLDPD_DEPENDENCIES += valgrind
endif
# Detection of c99 support in configure fails without WCHAR. To enable
# automatic detection of c99 support by configure, we need to enable
# WCHAR in toolchain. But actually we do not need WCHAR at lldpd
# runtime. So requesting WCHAR in toolchain just for automatic detection
# will be overkill. To solve this, explicitly -specify c99 here.
LLDPD_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99
LLDPD_CONF_OPTS = \
--without-readline \
--without-embedded-libevent \
--without-snmp \
--without-xml \
--without-json \
--without-seccomp \
--disable-hardening \
--disable-privsep \
$(if $(BR2_PACKAGE_LLDPD_CDP),--enable-cdp,--disable-cdp) \
$(if $(BR2_PACKAGE_LLDPD_FDP),--enable-fdp,--disable-fdp) \
$(if $(BR2_PACKAGE_LLDPD_EDP),--enable-edp,--disable-edp) \
$(if $(BR2_PACKAGE_LLDPD_SONMP),--enable-sonmp,--disable-sonmp) \
$(if $(BR2_PACKAGE_LLDPD_LLDPMED),--enable-lldpmed,--disable-lldpmed) \
$(if $(BR2_PACKAGE_LLDPD_DOT1),--enable-dot1,--disable-dot1) \
$(if $(BR2_PACKAGE_LLDPD_DOT3),--enable-dot3,--disable-dot3) \
$(if $(BR2_PACKAGE_LLDPD_CUSTOM_TLV),--enable-custom,--disable-custom)
define LLDPD_INSTALL_INIT_SYSV
$(INSTALL) -D -m 0755 package/lldpd/S60lldpd \
$(TARGET_DIR)/etc/init.d/S60lldpd
endef
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/lldpd/lldpd.mk
|
mk
|
mit
| 1,802 |
Add support for static only build
This patch adds support for a BUILD_SHARED_LIB variable that allows to
enable/disable the build of the shared library, in order to support
static-only builds.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Index: b/Makefile
===================================================================
--- a/Makefile
+++ b/Makefile
@@ -85,6 +85,9 @@
# Build and install static library
BUILD_STATIC_LIB := 1
+# Build and install shared library
+BUILD_SHARED_LIB := 1
+
# Set these to add preprocessor or compiler flags, or use
# environment variables
# CFLAGS :=
Index: b/lib/Module.mk
===================================================================
--- a/lib/Module.mk
+++ b/lib/Module.mk
@@ -43,8 +43,14 @@
LIBSTLIBNAME := libsensors.a
LIBSHSONAME := libsensors.so.$(LIBMAINVER)
+ifeq ($(BUILD_SHARED_LIB),1)
LIBTARGETS := $(MODULE_DIR)/$(LIBSHLIBNAME) \
$(MODULE_DIR)/$(LIBSHSONAME) $(MODULE_DIR)/$(LIBSHBASENAME)
+LIBDEP_FOR_PROGS := $(LIBSHBASENAME)
+else
+LIBDEP_FOR_PROGS := $(LIBSTLIBNAME)
+endif
+
ifeq ($(BUILD_STATIC_LIB),1)
LIBTARGETS += $(MODULE_DIR)/$(LIBSTLIBNAME)
endif
@@ -131,9 +137,11 @@
ifeq ($(BUILD_STATIC_LIB),1)
$(INSTALL) -m 644 $(LIB_DIR)/$(LIBSTLIBNAME) $(DESTDIR)$(LIBDIR)
endif
+ifeq ($(BUILD_SHARED_LIB),1)
$(INSTALL) -m 755 $(LIB_DIR)/$(LIBSHLIBNAME) $(DESTDIR)$(LIBDIR)
$(LN) $(LIBSHLIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBSHSONAME)
$(LN) $(LIBSHSONAME) $(DESTDIR)$(LIBDIR)/$(LIBSHBASENAME)
+endif
@if [ -z "$(DESTDIR)" -a "$(LIBDIR)" != "/usr/lib" -a "$(LIBDIR)" != "/lib" ] ; then \
if [ -e "/usr/lib/$(LIBSHSONAME)" -o -e "/usr/lib/$(LIBSHBASENAME)" ] ; then \
echo '******************************************************************************' ; \
Index: b/prog/sensord/Module.mk
===================================================================
--- a/prog/sensord/Module.mk
+++ b/prog/sensord/Module.mk
@@ -41,7 +41,7 @@
REMOVESENSORDBIN := $(patsubst $(MODULE_DIR)/%,$(DESTDIR)$(SBINDIR)/%,$(PROGSENSORDTARGETS))
REMOVESENSORDMAN := $(patsubst $(MODULE_DIR)/%,$(DESTDIR)$(PROGSENSORDMAN8DIR)/%,$(PROGSENSORDMAN8FILES))
-$(PROGSENSORDTARGETS): $(PROGSENSORDSOURCES:.c=.ro) lib/$(LIBSHBASENAME)
+$(PROGSENSORDTARGETS): $(PROGSENSORDSOURCES:.c=.ro) lib/$(LIBDEP_FOR_PROGS)
$(CC) $(EXLDFLAGS) -o $@ $(PROGSENSORDSOURCES:.c=.ro) -Llib -lsensors -lrrd
all-prog-sensord: $(PROGSENSORDTARGETS)
Index: b/prog/sensors/Module.mk
===================================================================
--- a/prog/sensors/Module.mk
+++ b/prog/sensors/Module.mk
@@ -39,8 +39,8 @@
LIBICONV := $(shell if /sbin/ldconfig -p | grep -q '/libiconv\.so$$' ; then echo \-liconv; else echo; fi)
-$(PROGSENSORSTARGETS): $(PROGSENSORSSOURCES:.c=.ro) lib/$(LIBSHBASENAME)
- $(CC) $(EXLDFLAGS) -o $@ $(PROGSENSORSSOURCES:.c=.ro) $(LIBICONV) -Llib -lsensors
+$(PROGSENSORSTARGETS): $(PROGSENSORSSOURCES:.c=.ro) lib/$(LIBDEP_FOR_PROGS)
+ $(CC) $(EXLDFLAGS) -o $@ $(PROGSENSORSSOURCES:.c=.ro) $(LIBICONV) -Llib -lsensors -lm
all-prog-sensors: $(PROGSENSORSTARGETS)
user :: all-prog-sensors
|
shibajee/buildroot
|
package/lm-sensors/0001-static-build.patch
|
patch
|
mit
| 3,117 |
Remove usage of host ldconfig
To know whether the libiconv library is available, lm-sensors is using
the host ldconfig, which is obviously wrong in cross-compilation.
Moreover, the lm-sensors program making use of the iconv_*() API
already does it when __UCLIBC__ is *not* defined. In this case, the
iconv_*() functions are already part of the C library, so there is no
need to link against a separate library. Therefore, this patch simply
removes the libiconv handling.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Index: b/prog/sensors/Module.mk
===================================================================
--- a/prog/sensors/Module.mk
+++ b/prog/sensors/Module.mk
@@ -37,10 +37,8 @@
REMOVESENSORSBIN := $(patsubst $(MODULE_DIR)/%,$(DESTDIR)$(BINDIR)/%,$(PROGSENSORSTARGETS))
REMOVESENSORSMAN := $(patsubst $(MODULE_DIR)/%,$(DESTDIR)$(PROGSENSORSMAN1DIR)/%,$(PROGSENSORSMAN1FILES))
-LIBICONV := $(shell if /sbin/ldconfig -p | grep -q '/libiconv\.so$$' ; then echo \-liconv; else echo; fi)
-
$(PROGSENSORSTARGETS): $(PROGSENSORSSOURCES:.c=.ro) lib/$(LIBDEP_FOR_PROGS)
- $(CC) $(EXLDFLAGS) -o $@ $(PROGSENSORSSOURCES:.c=.ro) $(LIBICONV) -Llib -lsensors -lm
+ $(CC) $(EXLDFLAGS) -o $@ $(PROGSENSORSSOURCES:.c=.ro) -Llib -lsensors -lm
all-prog-sensors: $(PROGSENSORSTARGETS)
user :: all-prog-sensors
|
shibajee/buildroot
|
package/lm-sensors/0002-no-host-ldconfig.patch
|
patch
|
mit
| 1,343 |
From 6d85773537c9f277ed342f57500f784ccb2c4a3e Mon Sep 17 00:00:00 2001
From: Brendan Heading <brendanheading@gmail.com>
Date: Sun, 30 Aug 2015 22:26:39 +0100
Subject: [PATCH 1/1] fix compilation under musl
This patch removes conditional compilation elements that are designed to
support glibc versions earlier than 2.0, which were causing the build
to fail under musl.
Based on the patch found here :
http://git.alpinelinux.org/cgit/aports/plain/main/lm_sensors/musl-fix-includes.patch?id=fece1d19448dbd3a56fd8ac70443116187141848
This patch has been accepted for integration upstream and should be
present in the next release. See :
http://www.lm-sensors.org/changeset/6314
Signed-off-by: Brendan Heading <brendanheading@gmail.com>
Upstream-Status: pending
---
prog/dump/isadump.c | 6 ------
prog/dump/isaset.c | 6 ------
prog/dump/superio.c | 5 -----
prog/dump/util.c | 5 -----
4 files changed, 22 deletions(-)
diff --git a/prog/dump/isadump.c b/prog/dump/isadump.c
index e031e47..88e4c3b 100644
--- a/prog/dump/isadump.c
+++ b/prog/dump/isadump.c
@@ -36,13 +36,7 @@
#include "util.h"
#include "superio.h"
-
-/* To keep glibc2 happy */
-#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
#include <sys/io.h>
-#else
-#include <asm/io.h>
-#endif
#ifdef __powerpc__
unsigned long isa_io_base = 0; /* XXX for now */
diff --git a/prog/dump/isaset.c b/prog/dump/isaset.c
index 1d1bdad..a084c8a 100644
--- a/prog/dump/isaset.c
+++ b/prog/dump/isaset.c
@@ -32,13 +32,7 @@
#include <string.h>
#include "util.h"
-
-/* To keep glibc2 happy */
-#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
#include <sys/io.h>
-#else
-#include <asm/io.h>
-#endif
#ifdef __powerpc__
unsigned long isa_io_base = 0; /* XXX for now */
diff --git a/prog/dump/superio.c b/prog/dump/superio.c
index 1af7358..31e0d78 100644
--- a/prog/dump/superio.c
+++ b/prog/dump/superio.c
@@ -20,12 +20,7 @@
*/
#include <stdlib.h>
-
-#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
#include <sys/io.h>
-#else
-#include <asm/io.h>
-#endif
#include "superio.h"
diff --git a/prog/dump/util.c b/prog/dump/util.c
index 676c339..d8b0927 100644
--- a/prog/dump/util.c
+++ b/prog/dump/util.c
@@ -11,12 +11,7 @@
#include <stdio.h>
#include "util.h"
-/* To keep glibc2 happy */
-#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
#include <sys/io.h>
-#else
-#include <asm/io.h>
-#endif
/* Return 1 if we should continue, 0 if we should abort */
int user_ack(int def)
--
2.4.3
|
shibajee/buildroot
|
package/lm-sensors/0003-musl-fix-includes.patch
|
patch
|
mit
| 2,537 |
config BR2_PACKAGE_LM_SENSORS
bool "lm-sensors"
help
Lm-sensors is a hardware health monitoring package for
Linux. It allows you to access information from
temperature, voltage, and fan speed sensors. It
works with most newer systems.
http://www.lm-sensors.org/
if BR2_PACKAGE_LM_SENSORS
comment "lm-sensors tools"
config BR2_PACKAGE_LM_SENSORS_SENSORS
bool "sensors"
default y
help
Sensors is used to show the current readings of all sensor
chips.
config BR2_PACKAGE_LM_SENSORS_FANCONTROL
bool "fancontrol"
help
Script for temperature driven fan control
config BR2_PACKAGE_LM_SENSORS_ISADUMP
bool "isadump"
help
Isadump is a small helper program to examine registers
visible through the ISA bus.
config BR2_PACKAGE_LM_SENSORS_ISASET
bool "isaset"
help
Isaset is a small helper program to set register visible
through the ISA bus.
config BR2_PACKAGE_LM_SENSORS_PWMCONFIG
bool "pwmconfig"
help
Pwmconfig searches your sensors for pulse width modulation (PWM)
controls, and tests each one to see if it controls a fan on
your motherboard.
config BR2_PACKAGE_LM_SENSORS_SENSORS_DETECT
bool "sensors-detect"
depends on BR2_PACKAGE_PERL
help
Sensors-detect is an interactive program for detecting
available hardware monitoring chips.
comment "sensors-detect needs perl"
depends on !BR2_PACKAGE_PERL
endif
|
shibajee/buildroot
|
package/lm-sensors/Config.in
|
in
|
mit
| 1,377 |
# Locally calculated
sha256 e0579016081a262dd23eafe1d22b41ebde78921e73a1dcef71e05e424340061f lm_sensors-3.4.0.tar.bz2
|
shibajee/buildroot
|
package/lm-sensors/lm-sensors.hash
|
hash
|
mit
| 118 |
################################################################################
#
# lm-sensors
#
################################################################################
LM_SENSORS_VERSION = 3.4.0
LM_SENSORS_SOURCE = lm_sensors-$(LM_SENSORS_VERSION).tar.bz2
LM_SENSORS_SITE = ftp://ftp.netroedge.com/pub/lm-sensors
LM_SENSORS_INSTALL_STAGING = YES
LM_SENSORS_DEPENDENCIES = host-bison host-flex
LM_SENSORS_LICENSE = libsensors LGPLv2.1+, programs GPLv2+
LM_SENSORS_LICENSE_FILES = COPYING.LGPL COPYING
LM_SENSORS_BINS_ = bin/sensors-conf-convert
LM_SENSORS_BINS_$(BR2_PACKAGE_LM_SENSORS_SENSORS) += bin/sensors
LM_SENSORS_BINS_$(BR2_PACKAGE_LM_SENSORS_FANCONTROL) += sbin/fancontrol
LM_SENSORS_BINS_$(BR2_PACKAGE_LM_SENSORS_ISADUMP) += sbin/isadump
LM_SENSORS_BINS_$(BR2_PACKAGE_LM_SENSORS_ISASET) += sbin/isaset
LM_SENSORS_BINS_$(BR2_PACKAGE_LM_SENSORS_PWMCONFIG) += sbin/pwmconfig
LM_SENSORS_BINS_$(BR2_PACKAGE_LM_SENSORS_SENSORS_DETECT) += sbin/sensors-detect
LM_SENSORS_MAKE_OPTS = \
BUILD_STATIC_LIB=1 \
MACHINE=$(KERNEL_ARCH) \
PREFIX=/usr
ifeq ($(BR2_STATIC_LIBS),y)
LM_SENSORS_MAKE_OPTS += BUILD_SHARED_LIB=0
else
LM_SENSORS_MAKE_OPTS += BUILD_SHARED_LIB=1
endif
ifeq ($(BR2_SHARED_LIBS),y)
LM_SENSORS_MAKE_OPTS += BUILD_STATIC_LIB=0
else
LM_SENSORS_MAKE_OPTS += BUILD_STATIC_LIB=1
endif
define LM_SENSORS_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) $(LM_SENSORS_MAKE_OPTS) -C $(@D)
endef
define LM_SENSORS_INSTALL_STAGING_CMDS
$(MAKE) -C $(@D) $(LM_SENSORS_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install
rm -f $(addprefix $(STAGING_DIR)/usr/,$(LM_SENSORS_BINS_) $(LM_SENSORS_BINS_y))
endef
define LM_SENSORS_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) $(LM_SENSORS_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install
rm -f $(addprefix $(TARGET_DIR)/usr/,$(LM_SENSORS_BINS_))
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/lm-sensors/lm-sensors.mk
|
mk
|
mit
| 1,820 |
config BR2_PACKAGE_LMBENCH
bool "lmbench"
depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS # libtirpc
select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
depends on BR2_USE_MMU # fork()
help
LMbench is a suite of simple, portable,
ANSI/C microbenchmarks for UNIX/POSIX.
http://sourceforge.net/projects/lmbench/
comment "lmbench needs a toolchain w/ threads"
depends on BR2_USE_MMU
depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
|
shibajee/buildroot
|
package/lmbench/Config.in
|
in
|
mit
| 500 |
# Locally computed:
sha256 cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551 lmbench-3.0-a9.tgz
|
shibajee/buildroot
|
package/lmbench/lmbench.hash
|
hash
|
mit
| 113 |
################################################################################
#
# lmbench
#
################################################################################
LMBENCH_VERSION = 3.0-a9
LMBENCH_SOURCE = lmbench-$(LMBENCH_VERSION).tgz
LMBENCH_SITE = http://downloads.sourceforge.net/project/lmbench/development/lmbench-$(LMBENCH_VERSION)
LMBENCH_LICENSE = lmbench license (based on GPLv2)
LMBENCH_LICENSE_FILES = COPYING COPYING-2
LMBENCH_CFLAGS = $(TARGET_CFLAGS)
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
LMBENCH_DEPENDENCIES += host-pkgconf libtirpc
LMBENCH_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`
LMBENCH_LDLIBS = `$(PKG_CONFIG_HOST_BINARY) --libs libtirpc`
endif
define LMBENCH_CONFIGURE_CMDS
$(call CONFIG_UPDATE,$(@D))
sed -i 's/CFLAGS=/CFLAGS+=/g' $(@D)/src/Makefile
sed -i 's/LDLIBS=/LDLIBS+=/g' $(@D)/scripts/build
sed -i '/cd .*doc/d' $(@D)/src/Makefile
sed -i '/include/d' $(@D)/src/Makefile
touch $@
endef
# Note: there is a second stage 'make' invocation from the 'scripts/build'
# script. So the variables override below don't take direct effect in
# src/Makefile.
define LMBENCH_BUILD_CMDS
$(MAKE) CFLAGS="$(LMBENCH_CFLAGS)" LDLIBS="$(LMBENCH_LDLIBS)" OS=$(ARCH) CC="$(TARGET_CC)" -C $(@D)/src
endef
define LMBENCH_INSTALL_TARGET_CMDS
$(MAKE) CFLAGS="$(TARGET_CFLAGS)" OS=$(ARCH) CC="$(TARGET_CC)" BASE=$(TARGET_DIR)/usr -C $(@D)/src install
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/lmbench/lmbench.mk
|
mk
|
mit
| 1,427 |
# Locally calculated
sha256 9a60f7cdab6fb39adf23a12102f2d950d5f07f0cd7e51e85ec327e07440a79c6 localedef-eglibc-2.14.1-r17443-ptx1.tar.bz2
|
shibajee/buildroot
|
package/localedef/localedef.hash
|
hash
|
mit
| 138 |
################################################################################
#
# localedef
#
################################################################################
LOCALEDEF_VERSION = 2.14.1-r17443-ptx1
LOCALEDEF_SOURCE = localedef-eglibc-$(LOCALEDEF_VERSION).tar.bz2
LOCALEDEF_SITE = http://www.pengutronix.de/software/ptxdist/temporary-src
HOST_LOCALEDEF_CONF_OPTS += \
--prefix=/usr \
--with-glibc=./eglibc
HOST_LOCALEDEF_CONF_ENV = CFLAGS="$(HOST_CFLAGS) -fgnu89-inline"
# The makefile does not implement an install target
define HOST_LOCALEDEF_INSTALL_CMDS
$(INSTALL) -D -m 0755 $(@D)/localedef $(HOST_DIR)/usr/bin/localedef
endef
$(eval $(host-autotools-package))
|
shibajee/buildroot
|
package/localedef/localedef.mk
|
mk
|
mit
| 692 |
From 0dcd2368c3e23a5cc1cc4a979d9c241ed9302236 Mon Sep 17 00:00:00 2001
From: Romain Naour <romain.naour@openwide.fr>
Date: Sun, 4 Jan 2015 16:06:07 +0100
Subject: [PATCH] Makefile: install static library and headers separately
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
---
Makefile | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index e27dcbd..ecf52d1 100644
--- a/Makefile
+++ b/Makefile
@@ -45,12 +45,10 @@ perl-lib: static
cd LockDev && make OPTIMIZE="-O2 -g -Wall"
cd LockDev && make test
-.PHONY: install install_dev install_dbg install_doc install_run
-install: install_dev install_dbg install_doc install_run
+.PHONY: install install_dev install_dbg install_doc install_run install_static
+install: install_dev install_dbg install_doc install_run install_static
-install_dev: ${static} src/lockdev.h
- install -m755 -d ${libdir}
- install -m644 ${static} ${libdir}
+install_dev: src/lockdev.h
install -m755 -d ${incdir}
install -m644 src/lockdev.h ${incdir}
install -m644 src/ttylock.h ${incdir}
@@ -69,6 +67,10 @@ install_doc: docs/lockdev.3
install -m755 -d ${mandir}/man3
install -m644 docs/lockdev.3 ${mandir}/man3
+install_static: ${static}
+ install -m755 -d ${libdir}
+ install -m644 ${static} ${libdir}
+
install_run: ${shared}
install -m755 -d ${libdir}
install -m644 ${shared} ${libdir}
--
1.9.3
|
shibajee/buildroot
|
package/lockdev/0001-Makefile-install-static-library-and-headers-separate.patch
|
patch
|
mit
| 1,410 |
config BR2_PACKAGE_LOCKDEV
bool "lockdev"
help
Library for locking devices.
No upstream site, primary site is Debian.
|
shibajee/buildroot
|
package/lockdev/Config.in
|
in
|
mit
| 127 |
# From http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/l/lockdev/lockdev_1.0.3-1.6.dsc
sha256 ccae635d7ac3fdd50897eceb250872b3d9a191d298f213e7f0c836910d869f82 lockdev_1.0.3.orig.tar.gz
sha256 a5405c6ee5e97e45eeb1c81330a7e9f444a58bda5e6771fa30007516c115007e lockdev_1.0.3-1.6.diff.gz
|
shibajee/buildroot
|
package/lockdev/lockdev.hash
|
hash
|
mit
| 304 |
################################################################################
#
# lockdev
#
################################################################################
LOCKDEV_VERSION_MAJOR = 1
LOCKDEV_VERSION = $(LOCKDEV_VERSION_MAJOR).0.3
LOCKDEV_SOURCE = lockdev_$(LOCKDEV_VERSION).orig.tar.gz
LOCKDEV_PATCH = lockdev_$(LOCKDEV_VERSION)-1.6.diff.gz
LOCKDEV_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/l/lockdev
LOCKDEV_LICENSE = LGPLv2.1
LOCKDEV_LICENSE_FILES = LICENSE
LOCKDEV_INSTALL_STAGING = YES
ifeq ($(BR2_STATIC_LIBS),y)
LOCKDEV_BUILD_ARGS = static
LOCKDEV_INSTALL_ARGS = install_static
else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
LOCKDEV_BUILD_ARGS = static shared
LOCKDEV_INSTALL_ARGS = install_run install_static
else # BR2_SHARED_LIBS
LOCKDEV_BUILD_ARGS = shared
LOCKDEV_INSTALL_ARGS = install_run
endif
# Make the code believe we are using a C library compatible with
# glibc, which for the purpose of lockdev is actually true.
ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
LOCKDEV_BUILD_ARGS += CFLAGS="$(TARGET_CFLAGS) -D__GNU_LIBRARY__"
endif
ifeq ($(BR2_SHARED_STATIC_LIBS)$(BR2_SHARED_LIBS),y)
define LOCKDEV_CREATE_LINKS_STAGING
ln -sf liblockdev.$(LOCKDEV_VERSION).so $(STAGING_DIR)/usr/lib/liblockdev.so
ln -sf liblockdev.$(LOCKDEV_VERSION).so $(STAGING_DIR)/usr/lib/liblockdev.so.$(LOCKDEV_VERSION_MAJOR)
endef
define LOCKDEV_CREATE_LINKS_TARGET
ln -sf liblockdev.$(LOCKDEV_VERSION).so $(TARGET_DIR)/usr/lib/liblockdev.so.$(LOCKDEV_VERSION_MAJOR)
endef
endif
define LOCKDEV_BUILD_CMDS
$(MAKE1) $(TARGET_CONFIGURE_OPTS) -C $(@D) $(LOCKDEV_BUILD_ARGS)
endef
define LOCKDEV_INSTALL_STAGING_CMDS
$(MAKE1) basedir=$(STAGING_DIR)/usr -C $(@D) $(LOCKDEV_INSTALL_ARGS) install_dev
$(LOCKDEV_CREATE_LINKS_STAGING)
endef
define LOCKDEV_INSTALL_TARGET_CMDS
$(MAKE1) basedir=$(TARGET_DIR)/usr -C $(@D) $(LOCKDEV_INSTALL_ARGS)
$(LOCKDEV_CREATE_LINKS_TARGET)
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/lockdev/lockdev.mk
|
mk
|
mit
| 1,945 |
--- /lockfile-progs.orig.c 2007-10-11 10:32:09.000000000 -0300
+++ /lockfile-progs.c 2007-10-11 10:32:28.000000000 -0300
@@ -93,7 +93,7 @@
{ NULL, 0, NULL, 0 }
};
- char *cmd_name = rindex(argv[0], '/');
+ char *cmd_name = strrchr(argv[0], '/');
int mail_cmd_p = 0;
if(cmd_name != NULL) {
|
shibajee/buildroot
|
package/lockfile-progs/0001-sus3v-legacy.patch
|
patch
|
mit
| 309 |
config BR2_PACKAGE_LOCKFILE_PROGS
bool "lockfile programs"
select BR2_PACKAGE_LIBLOCKFILE
help
Build lockfile utility programs.
|
shibajee/buildroot
|
package/lockfile-progs/Config.in
|
in
|
mit
| 134 |
# From http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/l/lockfile-progs/lockfile-progs_0.1.17.dsc
sha256 03fb05d25499532f497775b1747b61fa6beebf12d3bcc951e125349ae166c511 lockfile-progs_0.1.17.tar.gz
|
shibajee/buildroot
|
package/lockfile-progs/lockfile-progs.hash
|
hash
|
mit
| 220 |
################################################################################
#
# lockfile-progs
#
################################################################################
LOCKFILE_PROGS_VERSION = 0.1.17
LOCKFILE_PROGS_SOURCE = lockfile-progs_$(LOCKFILE_PROGS_VERSION).tar.gz
LOCKFILE_PROGS_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/l/lockfile-progs
LOCKFILE_PROGS_DEPENDENCIES = liblockfile
LOCKFILE_PROGS_LICENSE = GPLv2
LOCKFILE_PROGS_LICENSE_FILES = COPYING
LOCKFILE_BINS = \
$(addprefix lockfile-,check create remove touch) \
$(addprefix mail-,lock touchlock unlock)
define LOCKFILE_PROGS_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
define LOCKFILE_PROGS_INSTALL_TARGET_CMDS
for i in $(LOCKFILE_BINS); do \
$(INSTALL) -D -m 755 $(@D)/bin/$$i $(TARGET_DIR)/usr/bin/$$i || exit 1; \
done
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/lockfile-progs/lockfile-progs.mk
|
mk
|
mit
| 896 |
config BR2_PACKAGE_LOG4CPLUS
bool "log4cplus"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_THREADS
help
log4cplus is a simple to use C++ logging API providing
thread-safe, flexible, and arbitrarily granular control
over log management and configuration. It is modelled
after the Java log4j API.
http://sourceforge.net/projects/log4cplus
comment "log4cplus needs a toolchain w/ C++, wchar, threads"
depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
|
shibajee/buildroot
|
package/log4cplus/Config.in
|
in
|
mit
| 545 |
# Locally computed:
sha256 999427580cded403b4edc8a85088621f27493c489f08b9f564fb5fe76c16a883 log4cplus-1.1.2.tar.xz
|
shibajee/buildroot
|
package/log4cplus/log4cplus.hash
|
hash
|
mit
| 117 |
################################################################################
#
# log4cplus
#
################################################################################
LOG4CPLUS_VERSION = 1.1.2
LOG4CPLUS_SOURCE = log4cplus-$(LOG4CPLUS_VERSION).tar.xz
LOG4CPLUS_SITE = http://downloads.sourceforge.net/project/log4cplus/log4cplus-stable/$(LOG4CPLUS_VERSION)
LOG4CPLUS_LICENSE = Apache-2.0
LOG4CPLUS_LICENSE_FILES = LICENSE
LOG4CPLUS_INSTALL_STAGING = YES
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/log4cplus/log4cplus.mk
|
mk
|
mit
| 495 |
From 17562259fb6684f351a70b98b4f3b438927ba1aa Mon Sep 17 00:00:00 2001
From: Peter Seiderer <ps.report@gmx.net>
Date: Mon, 11 Jul 2016 22:58:31 +0200
Subject: [PATCH] Fix musl compile.
Include proper config.h (via log4cpp/Portability.hh) to fix the
evaluate of LOG4CPP_HAVE_STDINT_H in the file tests/Clock.hh
Fixes:
Clock.hh:17:13: error: 'int64_t' does not name a type
typedef int64_t usec_t;
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
log4cpp/tests/Clock.hh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/log4cpp/tests/Clock.hh b/log4cpp/tests/Clock.hh
index 4bf0ca4..45c6467 100644
--- a/log4cpp/tests/Clock.hh
+++ b/log4cpp/tests/Clock.hh
@@ -6,6 +6,8 @@
#ifndef __CLOCK_H
#define __CLOCK_H
+#include <log4cpp/Portability.hh>
+
#ifdef LOG4CPP_HAVE_STDINT_H
#include <stdint.h>
#endif // LOG4CPP_HAVE_STDINT_H
--
2.8.1
|
shibajee/buildroot
|
package/log4cpp/0001-Fix-musl-compile.patch
|
patch
|
mit
| 864 |
config BR2_PACKAGE_LOG4CPP
bool "log4cpp"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
help
Log4cpp is library of C++ classes for flexible logging to
files, syslog, IDSA and other destinations. It is modeled
after the Log4j Java library, staying as close to their API
as is reasonable.
http://log4cpp.sourceforge.net/
comment "log4cpp needs a toolchain w/ C++, threads"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
shibajee/buildroot
|
package/log4cpp/Config.in
|
in
|
mit
| 482 |
# From http://sourceforge.net/projects/log4cpp/files/log4cpp-1.1.x%20%28new%29/log4cpp-1.1/
md5 1e173df8ee97205f412ff84aa93b8fbe log4cpp-1.1.1.tar.gz
sha1 23aa5bd7d6f79992c92bad3e1c6d64a34f8fcf68 log4cpp-1.1.1.tar.gz
|
shibajee/buildroot
|
package/log4cpp/log4cpp.hash
|
hash
|
mit
| 218 |
################################################################################
#
# log4cpp
#
################################################################################
LOG4CPP_VERSION_MAJOR = 1.1
LOG4CPP_VERSION = $(LOG4CPP_VERSION_MAJOR).1
LOG4CPP_SOURCE = log4cpp-$(LOG4CPP_VERSION).tar.gz
LOG4CPP_SITE = http://downloads.sourceforge.net/project/log4cpp/log4cpp-1.1.x%20%28new%29/log4cpp-$(LOG4CPP_VERSION_MAJOR)
LOG4CPP_SUBDIR = log4cpp
# The "or later" is indicated in the HTML documentation
LOG4CPP_LICENSE = LGPLv2.1+
LOG4CPP_LICENSE_FILES = log4cpp/COPYING
LOG4CPP_INSTALL_STAGING = YES
LOG4CPP_CONF_OPTS = --enable-doxygen=no --enable-dot=no
# The default <pkg>_CONFIG_SCRIPTS handling does not apply
define LOG4CPP_STAGING_CONFIG_SCRIPT_FIXUP
$(SED) 's,prefix="/usr",prefix="$(STAGING_DIR)/usr",' \
-e 's,exec_prefix="/usr",prefix="$(STAGING_DIR)/usr",' \
$(STAGING_DIR)/usr/bin/log4cpp-config
endef
LOG4CPP_POST_INSTALL_STAGING_HOOKS += LOG4CPP_STAGING_CONFIG_SCRIPT_FIXUP
define LOG4CPP_TARGET_CONFIG_SCRIPT_REMOVE
$(RM) $(TARGET_DIR)/usr/bin/log4cpp-config
endef
LOG4CPP_POST_INSTALL_TARGET_HOOKS += LOG4CPP_TARGET_CONFIG_SCRIPT_REMOVE
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/log4cpp/log4cpp.mk
|
mk
|
mit
| 1,197 |
Fix build when iconv support is not available
When iconv support is not available, the apr-util library does not
provide character set conversion features, and therefore APR_HAS_XLATE
is false.
However, on Linux !defined(_WIN32) is always true, but the part of the
code that defines the APRCharsetDecoder and APRCharsetEncoder are only
enclosed in a #if APR_HAS_XLATE, without the "|| defined(_WIN32)"
which leads to build failures: the APRCharsetEncoder and
APRCharsetDecoder classes are used without being defined.
This patch removes the || !defined(_WIN32) so that when iconv support
is not here, we fall back to raising an exception at runtime.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Index: b/src/main/cpp/charsetdecoder.cpp
===================================================================
--- a/src/main/cpp/charsetdecoder.cpp
+++ b/src/main/cpp/charsetdecoder.cpp
@@ -476,7 +476,7 @@
StringHelper::equalsIgnoreCase(charset, LOG4CXX_STR("ISO-LATIN-1"), LOG4CXX_STR("iso-latin-1"))) {
return new ISOLatinCharsetDecoder();
}
-#if APR_HAS_XLATE || !defined(_WIN32)
+#if APR_HAS_XLATE
return new APRCharsetDecoder(charset);
#else
throw IllegalArgumentException(charset);
Index: b/src/main/cpp/charsetencoder.cpp
===================================================================
--- a/src/main/cpp/charsetencoder.cpp
+++ b/src/main/cpp/charsetencoder.cpp
@@ -484,7 +484,7 @@
} else if (StringHelper::equalsIgnoreCase(charset, LOG4CXX_STR("UTF-16LE"), LOG4CXX_STR("utf-16le"))) {
return new UTF16LECharsetEncoder();
}
-#if APR_HAS_XLATE || !defined(_WIN32)
+#if APR_HAS_XLATE
return new APRCharsetEncoder(charset);
#else
throw IllegalArgumentException(charset);
|
shibajee/buildroot
|
package/log4cxx/0001-charset-fixes.patch
|
patch
|
mit
| 1,774 |
commit bcaf1f8a682d641cee325142099c371464fd5946
Author: Curtis William Arnold <carnold@apache.org>
Date: Tue May 20 16:05:37 2008 +0000
LOGCXX-286: gcc 4.3 requires #include <cstring>
git-svn-id: https://svn.apache.org/repos/asf/logging/log4cxx/trunk@658304 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/examples/cpp/console.cpp b/src/examples/cpp/console.cpp
index 6a01d8a..a673a10 100755
--- a/src/examples/cpp/console.cpp
+++ b/src/examples/cpp/console.cpp
@@ -22,6 +22,7 @@
#include <log4cxx/logmanager.h>
#include <iostream>
#include <locale.h>
+#include <cstring>
using namespace log4cxx;
using namespace log4cxx::helpers;
diff --git a/src/main/cpp/inputstreamreader.cpp b/src/main/cpp/inputstreamreader.cpp
index 52b1c0a..cb45181 100644
--- a/src/main/cpp/inputstreamreader.cpp
+++ b/src/main/cpp/inputstreamreader.cpp
@@ -20,6 +20,7 @@
#include <log4cxx/helpers/exception.h>
#include <log4cxx/helpers/pool.h>
#include <log4cxx/helpers/bytebuffer.h>
+#include <cstring>
using namespace log4cxx;
using namespace log4cxx::helpers;
diff --git a/src/main/cpp/socketoutputstream.cpp b/src/main/cpp/socketoutputstream.cpp
index 185f835..c61eb11 100644
--- a/src/main/cpp/socketoutputstream.cpp
+++ b/src/main/cpp/socketoutputstream.cpp
@@ -19,6 +19,7 @@
#include <log4cxx/helpers/socketoutputstream.h>
#include <log4cxx/helpers/socket.h>
#include <log4cxx/helpers/bytebuffer.h>
+#include <cstring>
using namespace log4cxx;
using namespace log4cxx::helpers;
|
shibajee/buildroot
|
package/log4cxx/0002-missing-includes.patch
|
patch
|
mit
| 1,504 |
commit ce62c00ea5f9bf2f0740ecde5b245c9b7edc80ff
Author: Curtis William Arnold <carnold@apache.org>
Date: Mon Apr 27 03:53:50 2009 +0000
LOGCXX-332: fails to build with gcc 4.4
git-svn-id: https://svn.apache.org/repos/asf/logging/log4cxx/trunk@768863 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/examples/cpp/console.cpp b/src/examples/cpp/console.cpp
index a673a10..f44c944 100755
--- a/src/examples/cpp/console.cpp
+++ b/src/examples/cpp/console.cpp
@@ -23,6 +23,8 @@
#include <iostream>
#include <locale.h>
#include <cstring>
+#include <cstdio>
+#include <stdint.h>
using namespace log4cxx;
using namespace log4cxx::helpers;
|
shibajee/buildroot
|
package/log4cxx/0003-missing-includes.patch
|
patch
|
mit
| 660 |
config BR2_PACKAGE_LOG4CXX
bool "log4cxx"
select BR2_PACKAGE_APR
select BR2_PACKAGE_APR_UTIL
# apr really needs shared library support
depends on !BR2_STATIC_LIBS
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # apr
help
Apache log4cxx is a logging framework for C++ patterned
after Apache log4j.
http://apache.linux-mirror.org/logging/log4cxx/0.10.0
comment "log4cxx needs a toolchain w/ C++, threads, dynamic library"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
BR2_STATIC_LIBS
depends on BR2_USE_MMU
|
shibajee/buildroot
|
package/log4cxx/Config.in
|
in
|
mit
| 598 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.