buildroot long term support release 2024.02.3
buildroot-2024.02.3.tar.gz Signed-off-by: carbon <carbon@milkv.io>
This commit is contained in:
@ -0,0 +1,38 @@
|
||||
From 12d3b3c01b0ec28d45427754541a8156939346d9 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Thu, 13 Aug 2020 23:24:05 +0200
|
||||
Subject: [PATCH] plt.h: fix build with gcc 10
|
||||
|
||||
Drop EFUSE_PARAMETER_TYPE_ENM to fix the following build failure with
|
||||
gcc 10:
|
||||
|
||||
/home/buildroot/autobuild/run/instance-3/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc -L/home/buildroot/autobuild/run/instance-3/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/lib nvs.o misc_cmds.o calibrator.o plt.o wl18xx_plt.o ini.o -lm -lnl-3 -lnl-genl-3 -o calibrator
|
||||
/home/buildroot/autobuild/run/instance-3/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: misc_cmds.o:(.bss+0x0): multiple definition of `EFUSE_PARAMETER_TYPE_ENM'; nvs.o:(.bss+0x0): first defined here
|
||||
/home/buildroot/autobuild/run/instance-3/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: calibrator.o: in function `.LANCHOR0':
|
||||
calibrator.c:(.bss+0xc): multiple definition of `EFUSE_PARAMETER_TYPE_ENM'; nvs.o:(.bss+0x0): first defined here
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/df2d04de4b2e5003f3fc56c9e84db5054bd4d499
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream status: sent to sudharshan <sudharshan@ti.com>]
|
||||
---
|
||||
plt.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/plt.h b/plt.h
|
||||
index 8b534a9..43d5dbc 100644
|
||||
--- a/plt.h
|
||||
+++ b/plt.h
|
||||
@@ -399,7 +399,7 @@ enum EFUSE_PARAMETER_TYPE_ENMT {
|
||||
TX_BIP_PD_BUFFER_VBIAS_ERROR_E,
|
||||
EFUSE_NUMBER_OF_PARAMETERS_E,
|
||||
EFUSE_LAST_PARAMETER_E = (EFUSE_NUMBER_OF_PARAMETERS_E - 1)
|
||||
-} EFUSE_PARAMETER_TYPE_ENM;
|
||||
+};
|
||||
|
||||
int get_mac_addr(int ifc_num, unsigned char *mac_addr);
|
||||
|
||||
--
|
||||
2.27.0
|
||||
|
||||
@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 ce0185ba8a9bf456cc94a798bf66903775065e337e53ff812f18a6d88f5bac13 18xx-ti-utils-R8.8.tar.xz
|
||||
sha256 363cef40b276a7a91ebcff3f78626d9cfe5e5a51927c725236007259403d5fc4 COPYING
|
||||
35
buildroot-2024.02/package/18xx-ti-utils/18xx-ti-utils.mk
Normal file
35
buildroot-2024.02/package/18xx-ti-utils/18xx-ti-utils.mk
Normal file
@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
#
|
||||
# 18xx-ti-utils
|
||||
#
|
||||
################################################################################
|
||||
|
||||
18XX_TI_UTILS_VERSION = 8.8
|
||||
18XX_TI_UTILS_SITE = https://git.ti.com/cgit/wilink8-wlan/18xx-ti-utils/snapshot
|
||||
18XX_TI_UTILS_SOURCE = 18xx-ti-utils-R$(18XX_TI_UTILS_VERSION).tar.xz
|
||||
18XX_TI_UTILS_DEPENDENCIES = libnl
|
||||
18XX_TI_UTILS_LICENSE = BSD-3-Clause
|
||||
18XX_TI_UTILS_LICENSE_FILES = COPYING
|
||||
|
||||
18XX_TI_UTILS_CFLAGS = -I$(STAGING_DIR)/usr/include/libnl3 -DCONFIG_LIBNL32
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
18XX_TI_UTILS_BUILD_TARGET = static
|
||||
endif
|
||||
|
||||
define 18XX_TI_UTILS_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) CROSS_COMPILE=$(TARGET_CROSS) \
|
||||
NFSROOT="$(STAGING_DIR)" NLVER=3 $(MAKE) -C $(@D) \
|
||||
CFLAGS="$(TARGET_CFLAGS) $(18XX_TI_UTILS_CFLAGS)" \
|
||||
$(18XX_TI_UTILS_BUILD_TARGET)
|
||||
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)/wlconf \
|
||||
$(HOST_CONFIGURE_OPTS)
|
||||
endef
|
||||
|
||||
define 18XX_TI_UTILS_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 $(@D)/calibrator $(TARGET_DIR)/usr/bin/calibrator
|
||||
$(INSTALL) -m 0755 $(@D)/wlconf/wlconf $(HOST_DIR)/bin/wlconf
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
14
buildroot-2024.02/package/18xx-ti-utils/Config.in
Normal file
14
buildroot-2024.02/package/18xx-ti-utils/Config.in
Normal file
@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_18XX_TI_UTILS
|
||||
bool "18xx-ti-utils"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
|
||||
select BR2_PACKAGE_LIBNL
|
||||
help
|
||||
TI Wilink calibration utilities.
|
||||
|
||||
CONFIG_NL80211_TESTMODE must be enabled in the kernel
|
||||
configuration for this package to work.
|
||||
|
||||
http://processors.wiki.ti.com/index.php/WL18xx_TX_Testing
|
||||
|
||||
comment "18xx-ti-utils needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@ -0,0 +1,17 @@
|
||||
avoid regen during install
|
||||
|
||||
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
|
||||
|
||||
--- a/sources/Makefile
|
||||
+++ b/sources/Makefile
|
||||
@@ -120,7 +120,7 @@
|
||||
ln -sf $(SHARED_LIB) $(LIBRARIES)/lib4th.so
|
||||
endif
|
||||
|
||||
-mostlyinstall: libinstall all
|
||||
+mostlyinstall: libinstall
|
||||
cp 4th 4tsh pp4th $(BINARIES)
|
||||
|
||||
install: mostlyinstall
|
||||
--
|
||||
|
||||
3
buildroot-2024.02/package/4th/4th.hash
Normal file
3
buildroot-2024.02/package/4th/4th.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 f96ea74cdb2aadfdc3bebf8d6d2cf7b8976b5d56c1237387479bffaecede9fe3 4th-3.64.1-unix.tar.gz
|
||||
sha256 8c6111b645a02219579ea66e84aa8e78a0ed4f4dd80857ffb91bcda5528717d4 COPYING
|
||||
70
buildroot-2024.02/package/4th/4th.mk
Normal file
70
buildroot-2024.02/package/4th/4th.mk
Normal file
@ -0,0 +1,70 @@
|
||||
################################################################################
|
||||
#
|
||||
# 4th
|
||||
#
|
||||
################################################################################
|
||||
|
||||
4TH_VERSION = 3.64.1
|
||||
4TH_SOURCE = 4th-$(4TH_VERSION)-unix.tar.gz
|
||||
4TH_SITE = http://downloads.sourceforge.net/project/forth-4th/4th-$(4TH_VERSION)
|
||||
4TH_LICENSE = GPL-3.0+, LGPL-3.0+
|
||||
# The COPYING file only contains the text of the LGPL-3.0, but the
|
||||
# source code really contains parts under GPL-3.0+.
|
||||
4TH_LICENSE_FILES = COPYING
|
||||
4TH_DEPENDENCIES = host-4th
|
||||
4TH_INSTALL_STAGING = YES
|
||||
|
||||
4TH_CFLAGS = $(TARGET_CFLAGS) -DUNIX -fsigned-char
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
4TH_MAKE_ENV = $(TARGET_MAKE_ENV) STATIC=1
|
||||
else
|
||||
4TH_MAKE_ENV = $(TARGET_MAKE_ENV) SHARED=1
|
||||
4TH_CFLAGS += -fPIC
|
||||
endif
|
||||
|
||||
define 4TH_BUILD_CMDS
|
||||
$(4TH_MAKE_ENV) $(MAKE) -C $(@D)/sources all \
|
||||
CROSS="$(TARGET_CROSS)" \
|
||||
CFLAGS="$(4TH_CFLAGS)" \
|
||||
FOURTH=$(HOST_DIR)/bin/4th
|
||||
endef
|
||||
|
||||
define 4TH_INSTALL_STAGING_CMDS
|
||||
$(4TH_MAKE_ENV) $(MAKE) -C $(@D)/sources libinstall \
|
||||
LIBRARIES=$(STAGING_DIR)/usr/lib
|
||||
$(INSTALL) -D -m 0644 $(@D)/sources/4th.h \
|
||||
$(STAGING_DIR)/usr/include/4th.h
|
||||
endef
|
||||
|
||||
define 4TH_INSTALL_TARGET_CMDS
|
||||
mkdir -p $(TARGET_DIR)/usr/bin
|
||||
mkdir -p $(TARGET_DIR)/usr/lib
|
||||
$(4TH_MAKE_ENV) $(MAKE) -C $(@D)/sources mostlyinstall \
|
||||
BINARIES=$(TARGET_DIR)/usr/bin \
|
||||
LIBRARIES=$(TARGET_DIR)/usr/lib
|
||||
mkdir -p $(TARGET_DIR)/usr/share/4th/lib
|
||||
cp -dpf $(@D)/4th/*.4th $(TARGET_DIR)/usr/share/4th
|
||||
cp -dpf $(@D)/4th/lib/*.4th $(TARGET_DIR)/usr/share/4th/lib
|
||||
mkdir -p $(TARGET_DIR)/usr/share/4th/demo
|
||||
cp -dpf $(@D)/4th/demo/*.4th $(TARGET_DIR)/usr/share/4th/demo
|
||||
mkdir -p $(TARGET_DIR)/usr/share/4th/4pp/lib
|
||||
cp -dpf $(@D)/4th/4pp/*.4pp $(TARGET_DIR)/usr/share/4th/4pp
|
||||
cp -dpf $(@D)/4th/4pp/lib/*.4pp $(TARGET_DIR)/usr/share/4th/4pp/lib
|
||||
endef
|
||||
|
||||
define HOST_4TH_BUILD_CMDS
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)/sources all \
|
||||
CFLAGS="$(HOST_CFLAGS) -DUNIX -fsigned-char"
|
||||
endef
|
||||
|
||||
define HOST_4TH_INSTALL_CMDS
|
||||
mkdir -p $(HOST_DIR)/bin
|
||||
mkdir -p $(HOST_DIR)/lib
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)/sources mostlyinstall \
|
||||
BINARIES=$(HOST_DIR)/bin \
|
||||
LIBRARIES=$(HOST_DIR)/lib
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
8
buildroot-2024.02/package/4th/Config.in
Normal file
8
buildroot-2024.02/package/4th/Config.in
Normal file
@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_4TH
|
||||
bool "4th"
|
||||
help
|
||||
4tH is a Forth compiler that can create bytecode,
|
||||
C-embeddable bytecode, standalone executables, but also
|
||||
works fine as a scripting language
|
||||
|
||||
http://thebeez.home.xs4all.nl/4tH/
|
||||
2839
buildroot-2024.02/package/Config.in
Normal file
2839
buildroot-2024.02/package/Config.in
Normal file
File diff suppressed because it is too large
Load Diff
124
buildroot-2024.02/package/Config.in.host
Normal file
124
buildroot-2024.02/package/Config.in.host
Normal file
@ -0,0 +1,124 @@
|
||||
menu "Host utilities"
|
||||
|
||||
source "package/abootimg/Config.in.host"
|
||||
source "package/aespipe/Config.in.host"
|
||||
source "package/agent-proxy/Config.in.host"
|
||||
source "package/amlogic-boot-fip/Config.in.host"
|
||||
source "package/android-tools/Config.in.host"
|
||||
source "package/asn1c/Config.in.host"
|
||||
source "package/babeltrace2/Config.in.host"
|
||||
source "package/bmap-tools/Config.in.host"
|
||||
source "package/bootgen/Config.in.host"
|
||||
source "package/btrfs-progs/Config.in.host"
|
||||
source "package/cbootimage/Config.in.host"
|
||||
source "package/checkpolicy/Config.in.host"
|
||||
source "package/checksec/Config.in.host"
|
||||
source "package/cmake/Config.in.host"
|
||||
source "package/composer/Config.in.host"
|
||||
source "package/cramfs/Config.in.host"
|
||||
source "package/crudini/Config.in.host"
|
||||
source "package/cryptsetup/Config.in.host"
|
||||
source "package/dbus-python/Config.in.host"
|
||||
source "package/delve/Config.in.host"
|
||||
source "package/depot-tools/Config.in.host"
|
||||
source "package/dfu-util/Config.in.host"
|
||||
source "package/dos2unix/Config.in.host"
|
||||
source "package/dosfstools/Config.in.host"
|
||||
source "package/doxygen/Config.in.host"
|
||||
source "package/dracut/Config.in.host"
|
||||
source "package/dtc/Config.in.host"
|
||||
source "package/e2fsprogs/Config.in.host"
|
||||
source "package/e2tools/Config.in.host"
|
||||
source "package/environment-setup/Config.in.host"
|
||||
source "package/erofs-utils/Config.in.host"
|
||||
source "package/eudev/Config.in.host"
|
||||
source "package/exfatprogs/Config.in.host"
|
||||
source "package/f2fs-tools/Config.in.host"
|
||||
source "package/faketime/Config.in.host"
|
||||
source "package/fatcat/Config.in.host"
|
||||
source "package/firmware-utils/Config.in.host"
|
||||
source "package/flutter-sdk-bin/Config.in.host"
|
||||
source "package/fwup/Config.in.host"
|
||||
source "package/genext2fs/Config.in.host"
|
||||
source "package/genimage/Config.in.host"
|
||||
source "package/genpart/Config.in.host"
|
||||
source "package/gnupg/Config.in.host"
|
||||
source "package/go/Config.in.host"
|
||||
source "package/go-bootstrap-stage1/Config.in.host"
|
||||
source "package/go-bootstrap-stage2/Config.in.host"
|
||||
source "package/google-breakpad/Config.in.host"
|
||||
source "package/gptfdisk/Config.in.host"
|
||||
source "package/imagemagick/Config.in.host"
|
||||
source "package/imx-mkimage/Config.in.host"
|
||||
source "package/imx-usb-loader/Config.in.host"
|
||||
source "package/jh71xx-tools/Config.in.host"
|
||||
source "package/jq/Config.in.host"
|
||||
source "package/jsmin/Config.in.host"
|
||||
source "package/kmod/Config.in.host"
|
||||
source "package/libp11/Config.in.host"
|
||||
source "package/llvm-project/lld/Config.in.host"
|
||||
source "package/lpc3250loader/Config.in.host"
|
||||
source "package/lttng-babeltrace/Config.in.host"
|
||||
source "package/lzma-alone/Config.in.host"
|
||||
source "package/mender-artifact/Config.in.host"
|
||||
source "package/meson-tools/Config.in.host"
|
||||
source "package/mfgtools/Config.in.host"
|
||||
source "package/microchip-hss-payload-generator/Config.in.host"
|
||||
source "package/minisign/Config.in.host"
|
||||
source "package/mkpasswd/Config.in.host"
|
||||
source "package/moby-buildkit/Config.in.host"
|
||||
source "package/mosquitto/Config.in.host"
|
||||
source "package/mtd/Config.in.host"
|
||||
source "package/mtools/Config.in.host"
|
||||
source "package/mxsldr/Config.in.host"
|
||||
source "package/nodejs/Config.in.host"
|
||||
source "package/odb/Config.in.host"
|
||||
source "package/omap-u-boot-utils/Config.in.host"
|
||||
source "package/openocd/Config.in.host"
|
||||
source "package/opkg-utils/Config.in.host"
|
||||
source "package/pahole/Config.in.host"
|
||||
source "package/parted/Config.in.host"
|
||||
source "package/patchelf/Config.in.host"
|
||||
source "package/pigz/Config.in.host"
|
||||
source "package/pkgconf/Config.in.host"
|
||||
source "package/pru-software-support/Config.in.host"
|
||||
source "package/pwgen/Config.in.host"
|
||||
source "package/python-cython/Config.in.host"
|
||||
source "package/python-greenlet/Config.in.host"
|
||||
source "package/python-iniparse/Config.in.host"
|
||||
source "package/python-kflash/Config.in.host"
|
||||
source "package/python-lxml/Config.in.host"
|
||||
source "package/python-pyyaml/Config.in.host"
|
||||
source "package/python-six/Config.in.host"
|
||||
source "package/python-xlrd/Config.in.host"
|
||||
source "package/python3/Config.in.host"
|
||||
source "package/qemu/Config.in.host"
|
||||
source "package/qoriq-rcw/Config.in.host"
|
||||
source "package/raspberrypi-usbboot/Config.in.host"
|
||||
source "package/rauc/Config.in.host"
|
||||
source "package/riscv-isa-sim/Config.in.host"
|
||||
source "package/runc/Config.in.host"
|
||||
source "package/rustc/Config.in.host"
|
||||
source "package/s6-rc/Config.in.host"
|
||||
source "package/sam-ba/Config.in.host"
|
||||
source "package/sdbus-cpp/Config.in.host"
|
||||
source "package/sdbusplus/Config.in.host"
|
||||
source "package/sentry-cli/Config.in.host"
|
||||
source "package/sloci-image/Config.in.host"
|
||||
source "package/squashfs/Config.in.host"
|
||||
source "package/sunxi-tools/Config.in.host"
|
||||
source "package/swig/Config.in.host"
|
||||
source "package/swugenerator/Config.in.host"
|
||||
source "package/systemd/Config.in.host"
|
||||
source "package/tegrarcm/Config.in.host"
|
||||
source "package/ti-cgt-pru/Config.in.host"
|
||||
source "package/uboot-tools/Config.in.host"
|
||||
source "package/util-linux/Config.in.host"
|
||||
source "package/utp_com/Config.in.host"
|
||||
source "package/uuu/Config.in.host"
|
||||
source "package/vboot-utils/Config.in.host"
|
||||
source "package/xorriso/Config.in.host"
|
||||
source "package/zip/Config.in.host"
|
||||
source "package/zstd/Config.in.host"
|
||||
|
||||
endmenu
|
||||
455
buildroot-2024.02/package/Makefile.in
Normal file
455
buildroot-2024.02/package/Makefile.in
Normal file
@ -0,0 +1,455 @@
|
||||
ifndef MAKE
|
||||
MAKE := make
|
||||
endif
|
||||
ifndef HOSTMAKE
|
||||
HOSTMAKE = $(MAKE)
|
||||
endif
|
||||
HOSTMAKE := $(shell which $(HOSTMAKE) || type -p $(HOSTMAKE) || echo make)
|
||||
|
||||
# If BR2_JLEVEL is 0, scale the maximum concurrency with the number of
|
||||
# CPUs. An additional job is used in order to keep processors busy
|
||||
# while waiting on I/O.
|
||||
# If the number of processors is not available, assume one.
|
||||
ifeq ($(BR2_JLEVEL),0)
|
||||
PARALLEL_JOBS := $(shell echo \
|
||||
$$((1 + `getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1`)))
|
||||
else
|
||||
PARALLEL_JOBS := $(BR2_JLEVEL)
|
||||
endif
|
||||
|
||||
# Only build one job at a time, *and* to not randomise goals and
|
||||
# prerequisites ordering in make 4.4+
|
||||
MAKE1 := $(HOSTMAKE) -j1 $(if $(findstring --shuffle,$(MAKEFLAGS)),--shuffle=none)
|
||||
override MAKE = $(HOSTMAKE) \
|
||||
$(if $(findstring j,$(filter-out --%,$(MAKEFLAGS))),,-j$(PARALLEL_JOBS))
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
||||
TARGET_VENDOR = $(call qstrip,$(BR2_TOOLCHAIN_BUILDROOT_VENDOR))
|
||||
else
|
||||
TARGET_VENDOR = buildroot
|
||||
endif
|
||||
|
||||
# Sanity checks
|
||||
ifeq ($(TARGET_VENDOR),)
|
||||
$(error BR2_TOOLCHAIN_BUILDROOT_VENDOR is not allowed to be empty)
|
||||
endif
|
||||
ifeq ($(TARGET_VENDOR),unknown)
|
||||
$(error BR2_TOOLCHAIN_BUILDROOT_VENDOR cannot be 'unknown'. \
|
||||
It might be confused with the native toolchain)
|
||||
endif
|
||||
|
||||
# Compute GNU_TARGET_NAME
|
||||
GNU_TARGET_NAME = $(ARCH)-$(TARGET_VENDOR)-$(TARGET_OS)-$(LIBC)$(ABI)
|
||||
|
||||
# FLAT binary format needs uclinux, except RISC-V 64-bits which needs
|
||||
# the regular linux name.
|
||||
ifeq ($(BR2_BINFMT_FLAT):$(BR2_RISCV_64),y:)
|
||||
TARGET_OS = uclinux
|
||||
else
|
||||
TARGET_OS = linux
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
||||
LIBC = uclibc
|
||||
else ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
|
||||
LIBC = musl
|
||||
else ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y)
|
||||
LIBC = gnu
|
||||
else ifeq ($(BR_BUILDING),y)
|
||||
# This happens if there is a bug in Buildroot that allows an
|
||||
# architecture configuration that isn't supported by any library.
|
||||
$(error No C library enabled, this is not possible.)
|
||||
endif
|
||||
|
||||
# The ABI suffix is a bit special on ARM, as it needs to be
|
||||
# -uclibcgnueabi for uClibc EABI, and -gnueabi for glibc EABI.
|
||||
# This means that the LIBC and ABI aren't strictly orthogonal,
|
||||
# which explains why we need the test on LIBC below.
|
||||
ifeq ($(BR2_arm)$(BR2_armeb),y)
|
||||
ifeq ($(LIBC),uclibc)
|
||||
ABI = gnueabi
|
||||
else
|
||||
ABI = eabi
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_ARM_EABIHF),y)
|
||||
ABI := $(ABI)hf
|
||||
endif
|
||||
endif
|
||||
|
||||
# For FSL PowerPC there's SPE
|
||||
ifeq ($(BR2_POWERPC_CPU_HAS_SPE),y)
|
||||
ABI = spe
|
||||
# MPC8540s are e500v1 with single precision FP
|
||||
ifeq ($(BR2_powerpc_8540),y)
|
||||
TARGET_ABI += -mabi=spe -mfloat-gprs=single -Wa,-me500
|
||||
endif
|
||||
ifeq ($(BR2_powerpc_8548),y)
|
||||
TARGET_ABI += -mabi=spe -mfloat-gprs=double -Wa,-me500x2
|
||||
endif
|
||||
ifeq ($(BR2_powerpc_e500mc),y)
|
||||
TARGET_ABI += -mabi=spe -mfloat-gprs=double -Wa,-me500mc
|
||||
endif
|
||||
endif
|
||||
|
||||
# Use longcalls option for Xtensa globally.
|
||||
# The 'longcalls' option allows calls across a greater range of addresses,
|
||||
# and is required for some packages. While this option can degrade both
|
||||
# code size and performance, the linker can usually optimize away the
|
||||
# overhead when a call ends up within a certain range.
|
||||
#
|
||||
# Use auto-litpools for Xtensa globally.
|
||||
# Collecting literals into separate section can be advantageous if that
|
||||
# section is placed into DTCM at link time. This is applicable for code
|
||||
# running on bare metal, but makes no sense under linux, where userspace
|
||||
# is isolated from the physical memory details. OTOH placing literals into
|
||||
# separate section breaks build of huge source files, because l32r
|
||||
# instruction can only access literals in 256 KBytes range.
|
||||
#
|
||||
ifeq ($(BR2_xtensa),y)
|
||||
TARGET_ABI += -mlongcalls -mauto-litpools
|
||||
endif
|
||||
|
||||
STAGING_SUBDIR = $(GNU_TARGET_NAME)/sysroot
|
||||
STAGING_DIR = $(HOST_DIR)/$(STAGING_SUBDIR)
|
||||
|
||||
ifeq ($(BR2_OPTIMIZE_0),y)
|
||||
TARGET_OPTIMIZATION = -O0
|
||||
endif
|
||||
ifeq ($(BR2_OPTIMIZE_1),y)
|
||||
TARGET_OPTIMIZATION = -O1
|
||||
endif
|
||||
ifeq ($(BR2_OPTIMIZE_2),y)
|
||||
TARGET_OPTIMIZATION = -O2
|
||||
endif
|
||||
ifeq ($(BR2_OPTIMIZE_3),y)
|
||||
TARGET_OPTIMIZATION = -O3
|
||||
endif
|
||||
ifeq ($(BR2_OPTIMIZE_G),y)
|
||||
TARGET_OPTIMIZATION = -Og
|
||||
endif
|
||||
ifeq ($(BR2_OPTIMIZE_S),y)
|
||||
TARGET_OPTIMIZATION = -Os
|
||||
endif
|
||||
ifeq ($(BR2_OPTIMIZE_FAST),y)
|
||||
TARGET_OPTIMIZATION = -Ofast
|
||||
endif
|
||||
ifeq ($(BR2_ENABLE_DEBUG),)
|
||||
TARGET_DEBUGGING = -g0
|
||||
endif
|
||||
ifeq ($(BR2_DEBUG_1),y)
|
||||
TARGET_DEBUGGING = -g1
|
||||
endif
|
||||
ifeq ($(BR2_DEBUG_2),y)
|
||||
TARGET_DEBUGGING = -g2
|
||||
endif
|
||||
ifeq ($(BR2_DEBUG_3),y)
|
||||
TARGET_DEBUGGING = -g3
|
||||
endif
|
||||
|
||||
TARGET_LDFLAGS = $(call qstrip,$(BR2_TARGET_LDFLAGS))
|
||||
|
||||
# By design, _FORTIFY_SOURCE requires gcc optimization to be enabled.
|
||||
# Therefore, we need to pass _FORTIFY_SOURCE and the optimization level
|
||||
# through the same mechanism, i.e currently through CFLAGS. Passing
|
||||
# _FORTIFY_SOURCE through the wrapper and the optimization level
|
||||
# through CFLAGS would not work, because CFLAGS are sometimes
|
||||
# ignored/overridden by packages, but the flags passed by the wrapper
|
||||
# are enforced: this would cause _FORTIFY_SOURCE to be used without any
|
||||
# optimization level, leading to a build / configure failure. So we keep
|
||||
# passing _FORTIFY_SOURCE and the optimization level both through CFLAGS.
|
||||
ifeq ($(BR2_FORTIFY_SOURCE_1),y)
|
||||
TARGET_HARDENED += -D_FORTIFY_SOURCE=1
|
||||
else ifeq ($(BR2_FORTIFY_SOURCE_2),y)
|
||||
TARGET_HARDENED += -D_FORTIFY_SOURCE=2
|
||||
else ifeq ($(BR2_FORTIFY_SOURCE_3),y)
|
||||
TARGET_HARDENED += -D_FORTIFY_SOURCE=3
|
||||
endif
|
||||
|
||||
TARGET_CPPFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
||||
ifeq ($(BR2_TIME_BITS_64),y)
|
||||
TARGET_CPPFLAGS += -D_TIME_BITS=64
|
||||
endif
|
||||
TARGET_CFLAGS = $(TARGET_CPPFLAGS) $(TARGET_ABI) $(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) $(TARGET_HARDENED)
|
||||
TARGET_CXXFLAGS = $(TARGET_CFLAGS)
|
||||
TARGET_FCFLAGS = $(TARGET_ABI) $(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING)
|
||||
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79509
|
||||
ifeq ($(BR2_m68k_cf),y)
|
||||
TARGET_CFLAGS += -fno-dwarf2-cfi-asm
|
||||
TARGET_CXXFLAGS += -fno-dwarf2-cfi-asm
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_BINFMT_FLAT),y)
|
||||
ifeq ($(BR2_RISCV_64),y)
|
||||
TARGET_CFLAGS += -fPIC
|
||||
endif
|
||||
ifeq ($(BR2_BINFMT_FLAT_ONE),y)
|
||||
ELF2FLT_FLAGS = $(if $($(PKG)_FLAT_STACKSIZE),\
|
||||
-Wl$(comma)-elf2flt="-r -s$($(PKG)_FLAT_STACKSIZE)",\
|
||||
-Wl$(comma)-elf2flt=-r)
|
||||
else
|
||||
ELF2FLT_FLAGS = $(if $($(PKG)_FLAT_STACKSIZE),\
|
||||
-Wl$(comma)-elf2flt=-s$($(PKG)_FLAT_STACKSIZE),\
|
||||
-Wl$(comma)-elf2flt)
|
||||
endif
|
||||
TARGET_CFLAGS += $(ELF2FLT_FLAGS)
|
||||
TARGET_CXXFLAGS += $(ELF2FLT_FLAGS)
|
||||
TARGET_FCFLAGS += $(ELF2FLT_FLAGS)
|
||||
TARGET_LDFLAGS += $(ELF2FLT_FLAGS)
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_BINFMT_FLAT_SHARED),y)
|
||||
TARGET_LDFLAGS += -mid-shared-library -mshared-library-id=0
|
||||
TARGET_CFLAGS += -mid-shared-library -mshared-library-id=0
|
||||
TARGET_FCFLAGS += -mid-shared-library -mshared-library-id=0
|
||||
TARGET_CXXFLAGS += -mid-shared-library -mshared-library-id=0
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
||||
TARGET_CROSS = $(HOST_DIR)/bin/$(GNU_TARGET_NAME)-
|
||||
else
|
||||
TARGET_CROSS = $(HOST_DIR)/bin/$(TOOLCHAIN_EXTERNAL_PREFIX)-
|
||||
endif
|
||||
|
||||
# gcc-4.7 and later ships with wrappers that will automatically pass
|
||||
# arguments to the binutils tools. Those are paths to necessary linker
|
||||
# plugins.
|
||||
ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_7),y)
|
||||
TARGET_GCC_WRAPPERS_PREFIX = gcc-
|
||||
endif
|
||||
|
||||
# Define TARGET_xx variables for all common binutils/gcc
|
||||
TARGET_AR = $(TARGET_CROSS)$(TARGET_GCC_WRAPPERS_PREFIX)ar
|
||||
TARGET_AS = $(TARGET_CROSS)as
|
||||
TARGET_CC = $(TARGET_CROSS)gcc
|
||||
TARGET_CPP = $(TARGET_CROSS)cpp
|
||||
TARGET_CXX = $(TARGET_CROSS)g++
|
||||
TARGET_FC = $(TARGET_CROSS)gfortran
|
||||
TARGET_LD = $(TARGET_CROSS)ld
|
||||
TARGET_NM = $(TARGET_CROSS)$(TARGET_GCC_WRAPPERS_PREFIX)nm
|
||||
TARGET_RANLIB = $(TARGET_CROSS)$(TARGET_GCC_WRAPPERS_PREFIX)ranlib
|
||||
TARGET_READELF = $(TARGET_CROSS)readelf
|
||||
TARGET_OBJCOPY = $(TARGET_CROSS)objcopy
|
||||
TARGET_OBJDUMP = $(TARGET_CROSS)objdump
|
||||
|
||||
ifeq ($(BR2_STRIP_strip),y)
|
||||
STRIP_STRIP_DEBUG := --strip-debug
|
||||
TARGET_STRIP = $(TARGET_CROSS)strip
|
||||
STRIPCMD = $(TARGET_CROSS)strip --remove-section=.comment --remove-section=.note
|
||||
else
|
||||
TARGET_STRIP = /bin/true
|
||||
STRIPCMD = $(TARGET_STRIP)
|
||||
endif
|
||||
INSTALL := $(shell which install || type -p install)
|
||||
UNZIP := $(shell which unzip || type -p unzip) -q
|
||||
|
||||
APPLY_PATCHES = PATH=$(HOST_DIR)/bin:$$PATH support/scripts/apply-patches.sh $(if $(QUIET),-s)
|
||||
|
||||
HOST_CPPFLAGS = -I$(HOST_DIR)/include
|
||||
HOST_CFLAGS ?= -O2
|
||||
HOST_CFLAGS += $(HOST_CPPFLAGS)
|
||||
HOST_CXXFLAGS += $(HOST_CFLAGS)
|
||||
HOST_LDFLAGS += -L$(HOST_DIR)/lib -Wl,-rpath,$(HOST_DIR)/lib
|
||||
|
||||
# host-intltool should be executed with the system perl, so we save
|
||||
# the path to the system perl, before a host-perl built by Buildroot
|
||||
# might get installed into $(HOST_DIR)/bin and therefore appears
|
||||
# in our PATH. This system perl will be used as INTLTOOL_PERL.
|
||||
export PERL=$(shell which perl)
|
||||
|
||||
# host-intltool needs libxml-parser-perl, which Buildroot installs in
|
||||
# $(HOST_DIR)/lib/perl, so we must make sure that the system perl
|
||||
# finds this perl module by exporting the proper value for PERL5LIB.
|
||||
export PERL5LIB=$(HOST_DIR)/lib/perl
|
||||
|
||||
TARGET_MAKE_ENV = \
|
||||
GIT_DIR=. \
|
||||
PATH=$(BR_PATH)
|
||||
|
||||
TARGET_CONFIGURE_OPTS = \
|
||||
$(TARGET_MAKE_ENV) \
|
||||
AR="$(TARGET_AR)" \
|
||||
AS="$(TARGET_AS)" \
|
||||
LD="$(TARGET_LD)" \
|
||||
NM="$(TARGET_NM)" \
|
||||
CC="$(TARGET_CC)" \
|
||||
GCC="$(TARGET_CC)" \
|
||||
CPP="$(TARGET_CPP)" \
|
||||
CXX="$(TARGET_CXX)" \
|
||||
FC="$(TARGET_FC)" \
|
||||
F77="$(TARGET_FC)" \
|
||||
RANLIB="$(TARGET_RANLIB)" \
|
||||
READELF="$(TARGET_READELF)" \
|
||||
STRIP="$(TARGET_STRIP)" \
|
||||
OBJCOPY="$(TARGET_OBJCOPY)" \
|
||||
OBJDUMP="$(TARGET_OBJDUMP)" \
|
||||
AR_FOR_BUILD="$(HOSTAR)" \
|
||||
AS_FOR_BUILD="$(HOSTAS)" \
|
||||
CC_FOR_BUILD="$(HOSTCC)" \
|
||||
GCC_FOR_BUILD="$(HOSTCC)" \
|
||||
CXX_FOR_BUILD="$(HOSTCXX)" \
|
||||
LD_FOR_BUILD="$(HOSTLD)" \
|
||||
CPPFLAGS_FOR_BUILD="$(HOST_CPPFLAGS)" \
|
||||
CFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \
|
||||
CXXFLAGS_FOR_BUILD="$(HOST_CXXFLAGS)" \
|
||||
LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
|
||||
FCFLAGS_FOR_BUILD="$(HOST_FCFLAGS)" \
|
||||
DEFAULT_ASSEMBLER="$(TARGET_AS)" \
|
||||
DEFAULT_LINKER="$(TARGET_LD)" \
|
||||
CPPFLAGS="$(TARGET_CPPFLAGS)" \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
CXXFLAGS="$(TARGET_CXXFLAGS)" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
FCFLAGS="$(TARGET_FCFLAGS)" \
|
||||
FFLAGS="$(TARGET_FCFLAGS)" \
|
||||
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||
STAGING_DIR="$(STAGING_DIR)" \
|
||||
INTLTOOL_PERL=$(PERL)
|
||||
|
||||
|
||||
HOST_MAKE_ENV = \
|
||||
GIT_DIR=. \
|
||||
PATH=$(BR_PATH) \
|
||||
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||
PKG_CONFIG_SYSROOT_DIR="/" \
|
||||
PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \
|
||||
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \
|
||||
PKG_CONFIG_LIBDIR="$(HOST_DIR)/lib/pkgconfig:$(HOST_DIR)/share/pkgconfig"
|
||||
|
||||
HOST_CONFIGURE_OPTS = \
|
||||
$(HOST_MAKE_ENV) \
|
||||
AR="$(HOSTAR)" \
|
||||
AS="$(HOSTAS)" \
|
||||
LD="$(HOSTLD)" \
|
||||
NM="$(HOSTNM)" \
|
||||
CC="$(HOSTCC)" \
|
||||
GCC="$(HOSTCC)" \
|
||||
CXX="$(HOSTCXX)" \
|
||||
CPP="$(HOSTCPP)" \
|
||||
OBJCOPY="$(HOSTOBJCOPY)" \
|
||||
RANLIB="$(HOSTRANLIB)" \
|
||||
CPPFLAGS="$(HOST_CPPFLAGS)" \
|
||||
CFLAGS="$(HOST_CFLAGS)" \
|
||||
CXXFLAGS="$(HOST_CXXFLAGS)" \
|
||||
LDFLAGS="$(HOST_LDFLAGS)" \
|
||||
INTLTOOL_PERL=$(PERL)
|
||||
|
||||
# This is extra environment we can not export ourselves (eg. because some
|
||||
# packages use that variable internally, eg. uboot), so we have to
|
||||
# explicitly pass it to user-supplied external hooks (eg. post-build,
|
||||
# post-images)
|
||||
EXTRA_ENV = \
|
||||
PATH=$(BR_PATH) \
|
||||
BR2_DL_DIR=$(BR2_DL_DIR) \
|
||||
BUILD_DIR=$(BUILD_DIR) \
|
||||
CONFIG_DIR=$(CONFIG_DIR) \
|
||||
O=$(CANONICAL_O)
|
||||
|
||||
################################################################################
|
||||
# settings we need to pass to configure
|
||||
|
||||
# does unaligned access trap?
|
||||
BR2_AC_CV_TRAP_CHECK = ac_cv_lbl_unaligned_fail=yes
|
||||
ifeq ($(BR2_i386),y)
|
||||
BR2_AC_CV_TRAP_CHECK = ac_cv_lbl_unaligned_fail=no
|
||||
endif
|
||||
ifeq ($(BR2_x86_64),y)
|
||||
BR2_AC_CV_TRAP_CHECK = ac_cv_lbl_unaligned_fail=no
|
||||
endif
|
||||
ifeq ($(BR2_m68k),y)
|
||||
BR2_AC_CV_TRAP_CHECK = ac_cv_lbl_unaligned_fail=no
|
||||
endif
|
||||
ifeq ($(BR2_powerpc)$(BR2_powerpc64)$(BR2_powerpc64le),y)
|
||||
BR2_AC_CV_TRAP_CHECK = ac_cv_lbl_unaligned_fail=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_ENDIAN),"BIG")
|
||||
BR2_AC_CV_C_BIGENDIAN = ac_cv_c_bigendian=yes
|
||||
else
|
||||
BR2_AC_CV_C_BIGENDIAN = ac_cv_c_bigendian=no
|
||||
endif
|
||||
|
||||
# AM_GNU_GETTEXT misdetects musl gettext support.
|
||||
# musl currently implements api level 1 and 2 (basic + ngettext)
|
||||
# http://www.openwall.com/lists/musl/2015/04/16/3
|
||||
#
|
||||
# These autoconf variables should only be pre-seeded when the minimal
|
||||
# gettext implementation of musl is used. When the full blown
|
||||
# implementation provided by gettext libintl is used, auto-detection
|
||||
# works fine, and pre-seeding those values is actually wrong.
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_MUSL):$(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y:)
|
||||
BR2_GT_CV_FUNC_GNUGETTEXT_LIBC = \
|
||||
gt_cv_func_gnugettext1_libc=yes \
|
||||
gt_cv_func_gnugettext2_libc=yes
|
||||
endif
|
||||
|
||||
TARGET_CONFIGURE_ARGS = \
|
||||
$(BR2_AC_CV_TRAP_CHECK) \
|
||||
ac_cv_func_mmap_fixed_mapped=yes \
|
||||
ac_cv_func_memcmp_working=yes \
|
||||
ac_cv_have_decl_malloc=yes \
|
||||
gl_cv_func_malloc_0_nonnull=yes \
|
||||
ac_cv_func_malloc_0_nonnull=yes \
|
||||
ac_cv_func_calloc_0_nonnull=yes \
|
||||
ac_cv_func_realloc_0_nonnull=yes \
|
||||
lt_cv_sys_lib_search_path_spec="" \
|
||||
$(BR2_AC_CV_C_BIGENDIAN) \
|
||||
$(BR2_GT_CV_FUNC_GNUGETTEXT_LIBC)
|
||||
|
||||
################################################################################
|
||||
|
||||
ifeq ($(BR2_SYSTEM_ENABLE_NLS),y)
|
||||
NLS_OPTS = --enable-nls
|
||||
TARGET_NLS_DEPENDENCIES = host-gettext
|
||||
ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y)
|
||||
TARGET_NLS_DEPENDENCIES += gettext
|
||||
TARGET_NLS_LIBS += -lintl
|
||||
endif
|
||||
else
|
||||
NLS_OPTS = --disable-nls
|
||||
endif
|
||||
|
||||
# We need anything that is invalid. Traditionally, we'd have used 'false' (and
|
||||
# we did so in the past). However, that breaks libtool for packages that have
|
||||
# optional C++ support (e.g. gnutls), because libtool will *require* a *valid*
|
||||
# C++ preprocessor as long as CXX is not 'no'.
|
||||
# Now, whether we use 'no' or 'false' for CXX as the same side effect: it is an
|
||||
# invalid C++ compiler, and thus will cause detection of C++ to fail (which is
|
||||
# expected and what we want), while at the same time taming libtool into
|
||||
# silence.
|
||||
ifneq ($(BR2_INSTALL_LIBSTDCPP),y)
|
||||
TARGET_CONFIGURE_OPTS += CXX=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
SHARED_STATIC_LIBS_OPTS = --enable-static --disable-shared
|
||||
TARGET_CFLAGS += -static
|
||||
TARGET_CXXFLAGS += -static
|
||||
TARGET_FCFLAGS += -static
|
||||
TARGET_LDFLAGS += -static
|
||||
else ifeq ($(BR2_SHARED_LIBS),y)
|
||||
SHARED_STATIC_LIBS_OPTS = --disable-static --enable-shared
|
||||
else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
|
||||
SHARED_STATIC_LIBS_OPTS = --enable-static --enable-shared
|
||||
endif
|
||||
|
||||
# Used by our binutils patches.
|
||||
export BR_COMPILER_PARANOID_UNSAFE_PATH=enabled
|
||||
|
||||
include package/pkg-download.mk
|
||||
include package/pkg-autotools.mk
|
||||
include package/pkg-cmake.mk
|
||||
include package/pkg-luarocks.mk
|
||||
include package/pkg-perl.mk
|
||||
include package/pkg-python.mk
|
||||
include package/pkg-virtual.mk
|
||||
include package/pkg-generic.mk
|
||||
include package/pkg-kconfig.mk
|
||||
include package/pkg-rebar.mk
|
||||
include package/pkg-kernel-module.mk
|
||||
include package/pkg-waf.mk
|
||||
include package/pkg-golang.mk
|
||||
include package/pkg-meson.mk
|
||||
include package/pkg-qmake.mk
|
||||
include package/pkg-cargo.mk
|
||||
13
buildroot-2024.02/package/a10disp/Config.in
Normal file
13
buildroot-2024.02/package/a10disp/Config.in
Normal file
@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_A10DISP
|
||||
bool "a10disp"
|
||||
depends on BR2_arm
|
||||
depends on BR2_LINUX_KERNEL
|
||||
help
|
||||
Program to change the display mode of Allwinner ARM SOCs
|
||||
running the linux-sunxi kernel (and not the mainline kernel.)
|
||||
|
||||
http://github.com/hglm/a10disp
|
||||
|
||||
comment "a10disp needs a Linux kernel to be built"
|
||||
depends on BR2_arm
|
||||
depends on !BR2_LINUX_KERNEL
|
||||
3
buildroot-2024.02/package/a10disp/a10disp.hash
Normal file
3
buildroot-2024.02/package/a10disp/a10disp.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 5077405030e8f97a1edd4b86d469466abbc4d32b4a4609e58459347fcd1ba35b a10disp-0.6.1.tar.gz
|
||||
sha256 ddf849966f57fee8f9675f5a3c7791353d1cba71695cd58016212fc236bbdbee a10disp.c
|
||||
23
buildroot-2024.02/package/a10disp/a10disp.mk
Normal file
23
buildroot-2024.02/package/a10disp/a10disp.mk
Normal file
@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# a10disp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
A10DISP_VERSION = 0.6.1
|
||||
A10DISP_SITE = $(call github,hglm,a10disp,v$(A10DISP_VERSION))
|
||||
A10DISP_LICENSE = MIT
|
||||
A10DISP_LICENSE_FILES = a10disp.c
|
||||
|
||||
A10DISP_DEPENDENCIES = linux
|
||||
|
||||
define A10DISP_BUILD_CMDS
|
||||
cp -f $(LINUX_DIR)/include/video/sunxi_disp_ioctl.h $(@D)/
|
||||
$(TARGET_CC) $(TARGET_CFLAGS) $(@D)/a10disp.c -o $(@D)/a10disp
|
||||
endef
|
||||
|
||||
define A10DISP_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/a10disp $(TARGET_DIR)/usr/bin/a10disp
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
10
buildroot-2024.02/package/abootimg/Config.in
Normal file
10
buildroot-2024.02/package/abootimg/Config.in
Normal file
@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_ABOOTIMG
|
||||
bool "abootimg"
|
||||
depends on BR2_USE_MMU # libblkid
|
||||
select BR2_PACKAGE_UTIL_LINUX
|
||||
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
|
||||
help
|
||||
Tool to manipulate Android Boot Images, either on files
|
||||
or directly on /dev block devices.
|
||||
|
||||
https://gitlab.com/ajs124/abootimg
|
||||
8
buildroot-2024.02/package/abootimg/Config.in.host
Normal file
8
buildroot-2024.02/package/abootimg/Config.in.host
Normal file
@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_HOST_ABOOTIMG
|
||||
bool "host abootimg"
|
||||
select BR2_PACKAGE_HOST_UTIL_LINUX
|
||||
help
|
||||
Tool to manipulate Android Boot Images, either on files
|
||||
or directly on /dev block devices.
|
||||
|
||||
https://github.com/ggrandou/abootimg
|
||||
3
buildroot-2024.02/package/abootimg/abootimg.hash
Normal file
3
buildroot-2024.02/package/abootimg/abootimg.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 f377da42a57d982cfc22fa75c5a69febdc3e4c1ef43cd0ceaec42e14067e2f37 abootimg-1ebeb393252ab5aeed62e34bc439b6728444f06e-br1.tar.gz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE
|
||||
34
buildroot-2024.02/package/abootimg/abootimg.mk
Normal file
34
buildroot-2024.02/package/abootimg/abootimg.mk
Normal file
@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
#
|
||||
# abootimg
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ABOOTIMG_VERSION = 1ebeb393252ab5aeed62e34bc439b6728444f06e
|
||||
ABOOTIMG_SITE = https://gitlab.com/ajs124/abootimg.git
|
||||
ABOOTIMG_SITE_METHOD = git
|
||||
ABOOTIMG_LICENSE = GPL-2.0+
|
||||
ABOOTIMG_LICENSE_FILES = LICENSE
|
||||
|
||||
# depends on libblkid from util-linux
|
||||
ABOOTIMG_DEPENDENCIES = util-linux
|
||||
HOST_ABOOTIMG_DEPENDENCIES = host-util-linux
|
||||
|
||||
define ABOOTIMG_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
||||
endef
|
||||
|
||||
define ABOOTIMG_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 $(@D)/abootimg $(TARGET_DIR)/usr/bin/abootimg
|
||||
endef
|
||||
|
||||
define HOST_ABOOTIMG_BUILD_CMDS
|
||||
$(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D)
|
||||
endef
|
||||
|
||||
define HOST_ABOOTIMG_INSTALL_CMDS
|
||||
$(INSTALL) -m 0755 $(@D)/abootimg $(HOST_DIR)/bin/abootimg
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
16
buildroot-2024.02/package/ace/Config.in
Normal file
16
buildroot-2024.02/package/ace/Config.in
Normal file
@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_ACE
|
||||
bool "ace"
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
|
||||
help
|
||||
The ADAPTIVE Communication Environment (ACE(TM))
|
||||
An OO Network Programming Toolkit in C++.
|
||||
|
||||
http://www.dre.vanderbilt.edu/~schmidt/ACE.html
|
||||
|
||||
comment "ACE needs a glibc toolchain, dynamic library, C++, gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \
|
||||
!BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
6
buildroot-2024.02/package/ace/ace.hash
Normal file
6
buildroot-2024.02/package/ace/ace.hash
Normal file
@ -0,0 +1,6 @@
|
||||
# From https://download.dre.vanderbilt.edu/previous_versions/ACE-7.1.1.tar.bz2.md5:
|
||||
md5 6c86ec6c7879703783b9749d5409a67f ACE-7.1.1.tar.bz2
|
||||
|
||||
# Locally Computed:
|
||||
sha256 fe5fdeab1dddf4fdd99f73c59420886cf61ca2ce92adf2cc6b612b752986df62 ACE-7.1.1.tar.bz2
|
||||
sha256 687bf9d16119e0caf6fb5c18214928fd6ea0da10df91e906255b7613af8061d8 COPYING
|
||||
75
buildroot-2024.02/package/ace/ace.mk
Normal file
75
buildroot-2024.02/package/ace/ace.mk
Normal file
@ -0,0 +1,75 @@
|
||||
################################################################################
|
||||
#
|
||||
# ace
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ACE_VERSION = 7.1.1
|
||||
ACE_SOURCE = ACE-$(ACE_VERSION).tar.bz2
|
||||
ACE_SITE = http://download.dre.vanderbilt.edu/previous_versions
|
||||
ACE_LICENSE = DOC
|
||||
ACE_LICENSE_FILES = COPYING
|
||||
ACE_INSTALL_STAGING = YES
|
||||
ACE_CPE_ID_VENDOR = vanderbilt
|
||||
ACE_CPE_ID_PRODUCT = adaptive_communication_environment
|
||||
|
||||
# Note: We are excluding examples, apps and tests
|
||||
# Only compiling ACE libraries (no TAO)
|
||||
ACE_LIBRARIES = ace ACEXML Kokyu netsvcs protocols/ace
|
||||
|
||||
ACE_CPPFLAGS = $(TARGET_CPPFLAGS) -std=c++14
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_101915),y)
|
||||
ACE_CPPFLAGS += -O0
|
||||
endif
|
||||
|
||||
# ACE uses DEFFLAGS as C++ pre-processor flags, and CCFLAGS as the C++ flags.
|
||||
# Ace passes the pre-processor flags after the C++ flags, so we pass our
|
||||
# C++ flags as pre-processor flags, via DEFFLAGS.
|
||||
ACE_MAKE_OPTS = \
|
||||
ACE_ROOT="$(@D)" \
|
||||
DEFFLAGS="$(ACE_CPPFLAGS)"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
ACE_LIBRARIES += ace/SSL
|
||||
ACE_DEPENDENCIES += openssl
|
||||
define ACE_CONFIGURE_SSL
|
||||
echo "ssl = 1" >> $(@D)/include/makeinclude/platform_macros.GNU
|
||||
endef
|
||||
endif
|
||||
|
||||
# configure the target build
|
||||
# refer: http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ACE-INSTALL.html#unix
|
||||
define ACE_CONFIGURE_CMDS
|
||||
# create a config file
|
||||
echo ' #include "ace/config-linux.h" ' >> $(@D)/ace/config.h
|
||||
|
||||
# Create platform/compiler-specific Makefile configurations
|
||||
$(INSTALL) -m 0644 package/ace/platform_macros.GNU $(@D)/include/makeinclude/
|
||||
|
||||
$(ACE_CONFIGURE_SSL)
|
||||
endef
|
||||
|
||||
define ACE_BUILD_CMDS
|
||||
$(foreach lib,$(ACE_LIBRARIES), \
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/$(lib) \
|
||||
$(ACE_MAKE_OPTS) all
|
||||
)
|
||||
endef
|
||||
|
||||
define ACE_LIBRARIES_INSTALL
|
||||
mkdir -p $(1)/usr/share/ace
|
||||
$(foreach lib,$(ACE_LIBRARIES), \
|
||||
$(MAKE) -C $(@D)/$(lib) $(ACE_MAKE_OPTS) DESTDIR=$(1) install
|
||||
)
|
||||
endef
|
||||
|
||||
define ACE_INSTALL_TARGET_CMDS
|
||||
$(call ACE_LIBRARIES_INSTALL,$(TARGET_DIR))
|
||||
endef
|
||||
|
||||
define ACE_INSTALL_STAGING_CMDS
|
||||
$(call ACE_LIBRARIES_INSTALL,$(STAGING_DIR))
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
14
buildroot-2024.02/package/ace/platform_macros.GNU
Normal file
14
buildroot-2024.02/package/ace/platform_macros.GNU
Normal file
@ -0,0 +1,14 @@
|
||||
# help: http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ACE-INSTALL.html#unix
|
||||
|
||||
# create a platform macros file
|
||||
include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
|
||||
|
||||
# disable RPATH
|
||||
install_rpath = 0
|
||||
|
||||
# set the installation prefix
|
||||
INSTALL_PREFIX = /usr
|
||||
|
||||
# fix link error with ARM EABI tools
|
||||
# http://list.isis.vanderbilt.edu/pipermail/ace-users/2008-January/002742.html
|
||||
no_hidden_visibility = 1
|
||||
@ -0,0 +1,32 @@
|
||||
From a42519dceef0493ece45538375ae1791313f16d3 Mon Sep 17 00:00:00 2001
|
||||
From: Hollis Blanchard <hollis_blanchard@mentor.com>
|
||||
Date: Mon, 30 Jul 2018 14:29:46 -0700
|
||||
Subject: [PATCH] Remove pragmas inside functions
|
||||
|
||||
GCC 4.4.7, as found in RHEL6, reports:
|
||||
libacl/acl_from_text.c:307: error: #pragma GCC diagnostic not allowed inside functions
|
||||
|
||||
Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
|
||||
---
|
||||
libacl/acl_from_text.c | 3 ---
|
||||
1 file changed, 3 deletions(-)
|
||||
|
||||
diff --git a/libacl/acl_from_text.c b/libacl/acl_from_text.c
|
||||
index 09790c9..fb6bc07 100644
|
||||
--- a/libacl/acl_from_text.c
|
||||
+++ b/libacl/acl_from_text.c
|
||||
@@ -304,11 +304,8 @@ parse_acl_entry(const char **text_p, acl_t *acl_p)
|
||||
create_entry:
|
||||
if (acl_create_entry(acl_p, &entry_d) != 0)
|
||||
return -1;
|
||||
-#pragma GCC diagnostic push
|
||||
-#pragma GCC diagnostic ignored "-Waddress"
|
||||
if (acl_copy_entry(entry_d, int2ext(&entry_obj)) != 0)
|
||||
return -1;
|
||||
-#pragma GCC diagnostic pop
|
||||
return 0;
|
||||
|
||||
fail:
|
||||
--
|
||||
2.13.0
|
||||
|
||||
10
buildroot-2024.02/package/acl/Config.in
Normal file
10
buildroot-2024.02/package/acl/Config.in
Normal file
@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_ACL
|
||||
bool "acl"
|
||||
select BR2_PACKAGE_ATTR
|
||||
help
|
||||
POSIX Access Control Lists, which are used to define more
|
||||
fine-grained discretionary access rights for files and
|
||||
directories.
|
||||
This package also provides libacl.
|
||||
|
||||
https://savannah.nongnu.org/projects/acl
|
||||
6
buildroot-2024.02/package/acl/acl.hash
Normal file
6
buildroot-2024.02/package/acl/acl.hash
Normal file
@ -0,0 +1,6 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 97203a72cae99ab89a067fe2210c1cbf052bc492b479eca7d226d9830883b0bd acl-2.3.2.tar.xz
|
||||
|
||||
# Locally calculated
|
||||
sha256 a45a845012742796534f7e91fe623262ccfb99460a2bd04015bd28d66fba95b8 doc/COPYING
|
||||
sha256 01b1f9f2c8ee648a7a596a1abe8aa4ed7899b1c9e5551bda06da6e422b04aa55 doc/COPYING.LGPL
|
||||
22
buildroot-2024.02/package/acl/acl.mk
Normal file
22
buildroot-2024.02/package/acl/acl.mk
Normal file
@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# acl
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ACL_VERSION = 2.3.2
|
||||
ACL_SOURCE = acl-$(ACL_VERSION).tar.xz
|
||||
ACL_SITE = https://download.savannah.nongnu.org/releases/acl
|
||||
ACL_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (libraries)
|
||||
ACL_LICENSE_FILES = doc/COPYING doc/COPYING.LGPL
|
||||
ACL_CPE_ID_VALID = YES
|
||||
|
||||
ACL_DEPENDENCIES = attr
|
||||
HOST_ACL_DEPENDENCIES = host-attr
|
||||
|
||||
ACL_INSTALL_STAGING = YES
|
||||
|
||||
ACL_CONF_OPTS = --disable-nls
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
14
buildroot-2024.02/package/acpica/Config.in
Normal file
14
buildroot-2024.02/package/acpica/Config.in
Normal file
@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_ACPICA
|
||||
bool "acpica"
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
The ACPI Component Architecture (ACPICA) project provides an
|
||||
operating system (OS)-independent reference implementation
|
||||
of the Advanced Configuration and Power Interface
|
||||
Specification (ACPI).
|
||||
|
||||
https://www.acpica.org
|
||||
|
||||
comment "acpica needs a toolchain w/ threads, wchar"
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
5
buildroot-2024.02/package/acpica/acpica.hash
Normal file
5
buildroot-2024.02/package/acpica/acpica.hash
Normal file
@ -0,0 +1,5 @@
|
||||
# From: https://www.intel.com/content/www/us/en/download/776303/acpi-component-architecture-downloads-unix-format-source-code-and-build-environment-with-an-intel-license.html
|
||||
sha1 3b893fb771cf3fbd3531de3036e1a5bfc624c9d2 acpica-unix-20230628.tar.gz
|
||||
# locally computed hash
|
||||
sha256 86876a745e3d224dcfd222ed3de465b47559e85811df2db9820ef09a9dff5cce acpica-unix-20230628.tar.gz
|
||||
sha256 905d6f191f3c29aa673602d9c66eb8df00f7e1b35064a081e0de81284ff17ee6 source/include/acpi.h
|
||||
41
buildroot-2024.02/package/acpica/acpica.mk
Normal file
41
buildroot-2024.02/package/acpica/acpica.mk
Normal file
@ -0,0 +1,41 @@
|
||||
################################################################################
|
||||
#
|
||||
# acpica
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ACPICA_VERSION = 20230628
|
||||
ACPICA_SOURCE = acpica-unix-$(ACPICA_VERSION).tar.gz
|
||||
ACPICA_SITE = https://downloadmirror.intel.com/783534
|
||||
ACPICA_LICENSE = BSD-3-Clause or GPL-2.0
|
||||
ACPICA_LICENSE_FILES = source/include/acpi.h
|
||||
ACPICA_DEPENDENCIES = host-bison host-flex
|
||||
HOST_ACPICA_DEPENDENCIES = host-bison host-flex
|
||||
|
||||
define ACPICA_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
||||
ACPI_HOST=_LINUX CC="$(TARGET_CC)" \
|
||||
NOWERROR=TRUE \
|
||||
all
|
||||
endef
|
||||
|
||||
define HOST_ACPICA_BUILD_CMDS
|
||||
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
||||
NOWERROR=TRUE \
|
||||
all
|
||||
endef
|
||||
|
||||
define ACPICA_INSTALL_TARGET_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
||||
DESTDIR="$(TARGET_DIR)" \
|
||||
INSTALLFLAGS=-m755 install
|
||||
endef
|
||||
|
||||
define HOST_ACPICA_INSTALL_CMDS
|
||||
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
||||
PREFIX="$(HOST_DIR)" \
|
||||
INSTALLFLAGS=-m755 install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
20
buildroot-2024.02/package/acpid/0001-dont-use-isfdtype.patch
Normal file
20
buildroot-2024.02/package/acpid/0001-dont-use-isfdtype.patch
Normal file
@ -0,0 +1,20 @@
|
||||
Partially roll back upstream commit 4711119089e1ad08dad206f4fded68f1972fdeed
|
||||
since released versions of uClibc don't support isfdtype().
|
||||
|
||||
Signed-off-by: Gustavo Zaarias <gustavo@zacarias.com.ar>
|
||||
|
||||
diff -Nura acpid-2.0.22.orig/sock.c acpid-2.0.22/sock.c
|
||||
--- acpid-2.0.22.orig/sock.c 2014-04-22 18:04:19.706841764 -0300
|
||||
+++ acpid-2.0.22/sock.c 2014-04-22 18:05:08.285479625 -0300
|
||||
@@ -53,7 +53,10 @@
|
||||
int
|
||||
is_socket(int fd)
|
||||
{
|
||||
- return (isfdtype(fd, S_IFSOCK) == 1);
|
||||
+ int v;
|
||||
+ socklen_t l = sizeof(int);
|
||||
+
|
||||
+ return (getsockopt(fd, SOL_SOCKET, SO_TYPE, (char *)&v, &l) == 0);
|
||||
}
|
||||
|
||||
/* accept a new client connection */
|
||||
11
buildroot-2024.02/package/acpid/Config.in
Normal file
11
buildroot-2024.02/package/acpid/Config.in
Normal file
@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_ACPID
|
||||
bool "acpid"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Advanced Configuration and Power Interface event daemon.
|
||||
|
||||
Acpid is designed to notify user-space programs of ACPI
|
||||
events, and allows you to configure specific actions for
|
||||
specific events.
|
||||
|
||||
http://sourceforge.net/projects/acpid2/
|
||||
53
buildroot-2024.02/package/acpid/S02acpid
Normal file
53
buildroot-2024.02/package/acpid/S02acpid
Normal file
@ -0,0 +1,53 @@
|
||||
#!/bin/sh
|
||||
|
||||
DAEMON="acpid"
|
||||
EXEC="/usr/sbin/$DAEMON"
|
||||
PIDFILE="/var/run/$DAEMON.pid"
|
||||
|
||||
ACPID_ARGS=""
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON"
|
||||
|
||||
start() {
|
||||
printf 'Starting %s: ' "$DAEMON"
|
||||
# shellcheck disable=SC2086 # we need the word splitting
|
||||
start-stop-daemon -S -q -p "$PIDFILE" -x "$EXEC" \
|
||||
-- -n $ACPID_ARGS
|
||||
status=$?
|
||||
if [ "$status" -eq 0 ]; then
|
||||
echo "OK"
|
||||
else
|
||||
echo "FAIL"
|
||||
fi
|
||||
return "$status"
|
||||
}
|
||||
|
||||
stop() {
|
||||
printf 'Stopping %s: ' "$DAEMON"
|
||||
start-stop-daemon -K -q -p "$PIDFILE" -x "$EXEC"
|
||||
status=$?
|
||||
if [ "$status" -eq 0 ]; then
|
||||
# Give acpid time to send dying gasp to syslog
|
||||
sleep 1
|
||||
echo "OK"
|
||||
else
|
||||
echo "FAIL"
|
||||
fi
|
||||
return "$status"
|
||||
}
|
||||
|
||||
restart() {
|
||||
stop
|
||||
start
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start|stop|restart)
|
||||
"$1";;
|
||||
reload)
|
||||
restart;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop|restart|reload}"
|
||||
exit 1
|
||||
esac
|
||||
7
buildroot-2024.02/package/acpid/acpid.hash
Normal file
7
buildroot-2024.02/package/acpid/acpid.hash
Normal file
@ -0,0 +1,7 @@
|
||||
# From https://sourceforge.net/projects/acpid2/files/
|
||||
md5 988c2e3fd5ba0ea4492d3ba7273af295 acpid-2.0.34.tar.xz
|
||||
sha1 9322112027e4aa5a8d1b97ec64ef1d150ff0f4fc acpid-2.0.34.tar.xz
|
||||
|
||||
# Locally computed
|
||||
sha256 2d095c8cfcbc847caec746d62cdc8d0bff1ec1bc72ef7c674c721e04da6ab333 acpid-2.0.34.tar.xz
|
||||
sha256 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad COPYING
|
||||
40
buildroot-2024.02/package/acpid/acpid.mk
Normal file
40
buildroot-2024.02/package/acpid/acpid.mk
Normal file
@ -0,0 +1,40 @@
|
||||
################################################################################
|
||||
#
|
||||
# acpid
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ACPID_VERSION = 2.0.34
|
||||
ACPID_SOURCE = acpid-$(ACPID_VERSION).tar.xz
|
||||
ACPID_SITE = http://downloads.sourceforge.net/project/acpid2
|
||||
ACPID_LICENSE = GPL-2.0+
|
||||
ACPID_LICENSE_FILES = COPYING
|
||||
ACPID_CPE_ID_VENDOR = tedfelix
|
||||
ACPID_CPE_ID_PRODUCT = acpid2
|
||||
ACPID_SELINUX_MODULES = acpi
|
||||
|
||||
define ACPID_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 package/acpid/acpid.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/acpid.service
|
||||
endef
|
||||
|
||||
define ACPID_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -D -m 0755 package/acpid/S02acpid \
|
||||
$(TARGET_DIR)/etc/init.d/S02acpid
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_INIT_SYSV)$(BR2_INIT_SYSTEMD),y)
|
||||
ACPID_POWEROFF_CMD = /sbin/shutdown -hP now
|
||||
else
|
||||
ACPID_POWEROFF_CMD = /sbin/poweroff
|
||||
endif
|
||||
|
||||
define ACPID_SET_EVENTS
|
||||
mkdir -p $(TARGET_DIR)/etc/acpi/events
|
||||
printf 'event=button[ /]power\naction=%s\n' '$(ACPID_POWEROFF_CMD)' \
|
||||
>$(TARGET_DIR)/etc/acpi/events/powerbtn
|
||||
endef
|
||||
|
||||
ACPID_POST_INSTALL_TARGET_HOOKS += ACPID_SET_EVENTS
|
||||
|
||||
$(eval $(autotools-package))
|
||||
9
buildroot-2024.02/package/acpid/acpid.service
Normal file
9
buildroot-2024.02/package/acpid/acpid.service
Normal file
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=ACPI event daemon
|
||||
Documentation=man:acpid(8)
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/acpid --foreground --netlink
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
14
buildroot-2024.02/package/acpitool/Config.in
Normal file
14
buildroot-2024.02/package/acpitool/Config.in
Normal file
@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_ACPITOOL
|
||||
bool "acpitool"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
A small, convenient command-line ACPI client with a lot of
|
||||
features for Linux
|
||||
|
||||
http://acpitool.sourceforge.net
|
||||
|
||||
comment "acpitool needs a toolchain w/ threads, C++, dynamic library"
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS \
|
||||
|| !BR2_INSTALL_LIBSTDCPP
|
||||
3
buildroot-2024.02/package/acpitool/acpitool.hash
Normal file
3
buildroot-2024.02/package/acpitool/acpitool.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# locally computed hash
|
||||
sha256 004fb6cd43102918b6302cf537a2db7ceadda04aef2e0906ddf230f820dad34f acpitool-0.5.1.tar.bz2
|
||||
sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING
|
||||
13
buildroot-2024.02/package/acpitool/acpitool.mk
Normal file
13
buildroot-2024.02/package/acpitool/acpitool.mk
Normal file
@ -0,0 +1,13 @@
|
||||
################################################################################
|
||||
#
|
||||
# acpitool
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ACPITOOL_VERSION = 0.5.1
|
||||
ACPITOOL_SOURCE = acpitool-$(ACPITOOL_VERSION).tar.bz2
|
||||
ACPITOOL_SITE = http://downloads.sourceforge.net/sourceforge/acpitool
|
||||
ACPITOOL_LICENSE = GPL-2.0+
|
||||
ACPITOOL_LICENSE_FILES = COPYING
|
||||
|
||||
$(eval $(autotools-package))
|
||||
21
buildroot-2024.02/package/acsccid/Config.in
Normal file
21
buildroot-2024.02/package/acsccid/Config.in
Normal file
@ -0,0 +1,21 @@
|
||||
config BR2_PACKAGE_ACSCCID
|
||||
bool "acsccid"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # pcsc-lite, libusb
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb, pcsc-lite
|
||||
depends on BR2_USE_MMU # pcsc-lite
|
||||
depends on !BR2_STATIC_LIBS # pcsc-lite
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
select BR2_PACKAGE_PCSC_LITE
|
||||
# Even though there is a --disable-libusb option, it has in
|
||||
# fact no effect, and acsccid really requires libusb.
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
acsccid is a PC/SC driver for Linux/Mac OS X and it supports
|
||||
ACS CCID smart card readers.
|
||||
|
||||
http://acsccid.sourceforge.net/
|
||||
|
||||
comment "acsccid needs a toolchain w/ threads, dynamic library, gcc >= 4.9"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
6
buildroot-2024.02/package/acsccid/acsccid.hash
Normal file
6
buildroot-2024.02/package/acsccid/acsccid.hash
Normal file
@ -0,0 +1,6 @@
|
||||
# From https://sourceforge.net/projects/acsccid/files/acsccid/1.1.10/
|
||||
sha1 6284a693b8edb511f2f80d9069af9b4a41fd55ae acsccid-1.1.10.tar.bz2
|
||||
md5 4d2b7f34414aed029084c96dd05a0e7d acsccid-1.1.10.tar.bz2
|
||||
# Locally computed
|
||||
sha256 5ee112febdcac6656629025f3a85923f155f6ca150b2d24fd716f9043265528e acsccid-1.1.10.tar.bz2
|
||||
sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING
|
||||
20
buildroot-2024.02/package/acsccid/acsccid.mk
Normal file
20
buildroot-2024.02/package/acsccid/acsccid.mk
Normal file
@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# acsccid
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ACSCCID_VERSION = 1.1.10
|
||||
ACSCCID_SOURCE = acsccid-$(ACSCCID_VERSION).tar.bz2
|
||||
ACSCCID_SITE = http://downloads.sourceforge.net/acsccid
|
||||
ACSCCID_LICENSE = LGPL-2.1+
|
||||
ACSCCID_LICENSE_FILES = COPYING
|
||||
ACSCCID_INSTALL_STAGING = YES
|
||||
ACSCCID_DEPENDENCIES = pcsc-lite host-flex host-pkgconf libusb
|
||||
ACSCCID_CONF_OPTS = --enable-usbdropdir=/usr/lib/pcsc/drivers
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
||||
ACSCCID_DEPENDENCIES += libiconv
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
10
buildroot-2024.02/package/adwaita-icon-theme/Config.in
Normal file
10
buildroot-2024.02/package/adwaita-icon-theme/Config.in
Normal file
@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_ADWAITA_ICON_THEME
|
||||
bool "adwaita icon theme"
|
||||
depends on BR2_PACKAGE_LIBGTK2 || BR2_PACKAGE_LIBGTK3
|
||||
# host-libgtk3 -> host-librsvg -> host-pango -> host-harfbuzz
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_9
|
||||
help
|
||||
Adwaita icon theme
|
||||
|
||||
comment "adwaita icon theme needs host gcc >= 4.9"
|
||||
depends on !BR2_HOST_GCC_AT_LEAST_4_9
|
||||
@ -0,0 +1,6 @@
|
||||
# From https://download.gnome.org/sources/adwaita-icon-theme/3.27/adwaita-icon-theme-3.27.2.sha256sum
|
||||
sha256 a594e7440971f860cc61b1b8291be15ffc1b8dd06a9f11485a5a7faf189bcf6b adwaita-icon-theme-3.37.2.tar.xz
|
||||
# locally computed
|
||||
sha256 51f83b2b4e9ed2beebc9b8eed2ecad29314a58ed8c5184b22ad8f9df703d3ce5 COPYING
|
||||
sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 COPYING_LGPL
|
||||
sha256 207fe75c396c0ae197c57d42c727163428b6667d98cef3644e41c6f1afe1895f COPYING_CCBYSA3
|
||||
@ -0,0 +1,16 @@
|
||||
################################################################################
|
||||
#
|
||||
# adwaita-icon-theme
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ADWAITA_ICON_THEME_VERSION_MAJOR = 3.37
|
||||
ADWAITA_ICON_THEME_VERSION = $(ADWAITA_ICON_THEME_VERSION_MAJOR).2
|
||||
ADWAITA_ICON_THEME_SITE = https://download.gnome.org/sources/adwaita-icon-theme/$(ADWAITA_ICON_THEME_VERSION_MAJOR)
|
||||
ADWAITA_ICON_THEME_SOURCE = adwaita-icon-theme-$(ADWAITA_ICON_THEME_VERSION).tar.xz
|
||||
ADWAITA_ICON_THEME_INSTALL_STAGING = YES
|
||||
ADWAITA_ICON_THEME_LICENSE = LGPL-3.0 or CC-BY-SA-3.0
|
||||
ADWAITA_ICON_THEME_LICENSE_FILES = COPYING COPYING_LGPL COPYING_CCBYSA3
|
||||
ADWAITA_ICON_THEME_DEPENDENCIES = host-intltool host-libgtk3
|
||||
|
||||
$(eval $(autotools-package))
|
||||
12
buildroot-2024.02/package/aer-inject/Config.in
Normal file
12
buildroot-2024.02/package/aer-inject/Config.in
Normal file
@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_AER_INJECT
|
||||
bool "aer-inject"
|
||||
help
|
||||
aer-inject allows to inject PCIE AER errors on the software
|
||||
level into a running Linux kernel. This is intended for
|
||||
validation of the PCIE driver error recovery handler and
|
||||
PCIE AER core handler.
|
||||
|
||||
Requires a new Linux kernel with PCIE AER error injection
|
||||
patches.
|
||||
|
||||
https://git.kernel.org/cgit/linux/kernel/git/gong.chen/aer-inject.git/
|
||||
3
buildroot-2024.02/package/aer-inject/aer-inject.hash
Normal file
3
buildroot-2024.02/package/aer-inject/aer-inject.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 2dd2bd73aa738c1cc26ba04b6e502329778d18c2cc873c0bd00e6b2d38e9477c aer-inject-9bd5e2c7886fca72f139cd8402488a2235957d41-br1.tar.gz
|
||||
sha256 659a191d8775e05c6c6a9a4ba66b3577c577342bb83f20d393135eb6633c8973 README
|
||||
23
buildroot-2024.02/package/aer-inject/aer-inject.mk
Normal file
23
buildroot-2024.02/package/aer-inject/aer-inject.mk
Normal file
@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# aer-inject
|
||||
#
|
||||
################################################################################
|
||||
|
||||
AER_INJECT_VERSION = 9bd5e2c7886fca72f139cd8402488a2235957d41
|
||||
AER_INJECT_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git
|
||||
AER_INJECT_SITE_METHOD = git
|
||||
AER_INJECT_LICENSE = GPL-2.0
|
||||
AER_INJECT_LICENSE_FILES = README
|
||||
AER_INJECT_DEPENDENCIES = host-flex host-bison
|
||||
|
||||
define AER_INJECT_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
|
||||
endef
|
||||
|
||||
define AER_INJECT_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
|
||||
DESTDIR=$(TARGET_DIR) PREFIX=/usr/bin install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
11
buildroot-2024.02/package/aespipe/Config.in
Normal file
11
buildroot-2024.02/package/aespipe/Config.in
Normal file
@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_AESPIPE
|
||||
bool "aespipe"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
aespipe program is AES encrypting or decrypting pipe. It reads
|
||||
from standard input and writes to standard output. It can be
|
||||
used to create and restore encrypted tar or cpio archives.
|
||||
It can be used to encrypt and decrypt loop-AES compatible
|
||||
encrypted disk images.
|
||||
|
||||
http://loop-aes.sourceforge.net/
|
||||
10
buildroot-2024.02/package/aespipe/Config.in.host
Normal file
10
buildroot-2024.02/package/aespipe/Config.in.host
Normal file
@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_HOST_AESPIPE
|
||||
bool "host aespipe"
|
||||
help
|
||||
aespipe program is AES encrypting or decrypting pipe. It
|
||||
reads from standard input and writes to standard output. It
|
||||
can be used to create and restore encrypted tar or cpio
|
||||
archives. It can be used to encrypt and decrypt loop-AES
|
||||
compatible encrypted disk images.
|
||||
|
||||
http://loop-aes.sourceforge.net/
|
||||
5
buildroot-2024.02/package/aespipe/aespipe.hash
Normal file
5
buildroot-2024.02/package/aespipe/aespipe.hash
Normal file
@ -0,0 +1,5 @@
|
||||
# From https://sourceforge.net/projects/loop-aes/files/aespipe/v2.4g/
|
||||
sha1 fb6b0108176d653f0e5b3be2385b132be791d800 aespipe-v2.4g.tar.bz2
|
||||
md5 c216c6c9e939fac69f859af0ad2fd8ef aespipe-v2.4g.tar.bz2
|
||||
# Locally computed:
|
||||
sha256 bfb97e7de161e8d7ce113b163bda1d1a8ec77d2c1afab56dcc8153d7a90187fc aespipe-v2.4g.tar.bz2
|
||||
13
buildroot-2024.02/package/aespipe/aespipe.mk
Normal file
13
buildroot-2024.02/package/aespipe/aespipe.mk
Normal file
@ -0,0 +1,13 @@
|
||||
################################################################################
|
||||
#
|
||||
# aespipe
|
||||
#
|
||||
################################################################################
|
||||
|
||||
AESPIPE_VERSION = 2.4g
|
||||
AESPIPE_SOURCE = aespipe-v$(AESPIPE_VERSION).tar.bz2
|
||||
AESPIPE_SITE = http://loop-aes.sourceforge.net/aespipe
|
||||
AESPIPE_LICENSE = GPL
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
11
buildroot-2024.02/package/agent-proxy/Config.in.host
Normal file
11
buildroot-2024.02/package/agent-proxy/Config.in.host
Normal file
@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_HOST_AGENT_PROXY
|
||||
bool "host agent-proxy"
|
||||
help
|
||||
This is a simple, small proxy which was intended for use
|
||||
with kgdb, or gdbserver type connections where you want to
|
||||
share a text console and a debug session.
|
||||
|
||||
The idea is that you use the agent-proxy to connect to a
|
||||
serial port directly or to a remote terminal server.
|
||||
|
||||
git://git.kernel.org/pub/scm/utils/kernel/kgdb/agent-proxy.git
|
||||
3
buildroot-2024.02/package/agent-proxy/agent-proxy.hash
Normal file
3
buildroot-2024.02/package/agent-proxy/agent-proxy.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 b1667b36074c10ebd6dd1f89eda75d5877bc8e06ecf2919f18e75a7a5a9de19b agent-proxy-1.97.tar.gz
|
||||
sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 COPYING
|
||||
20
buildroot-2024.02/package/agent-proxy/agent-proxy.mk
Normal file
20
buildroot-2024.02/package/agent-proxy/agent-proxy.mk
Normal file
@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# agent-proxy
|
||||
#
|
||||
################################################################################
|
||||
|
||||
AGENT_PROXY_VERSION = 1.97
|
||||
AGENT_PROXY_SITE = https://git.kernel.org/pub/scm/utils/kernel/kgdb/agent-proxy.git/snapshot
|
||||
AGENT_PROXY_LICENSE = GPL-2.0
|
||||
AGENT_PROXY_LICENSE_FILES = COPYING
|
||||
|
||||
define HOST_AGENT_PROXY_BUILD_CMDS
|
||||
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define HOST_AGENT_PROXY_INSTALL_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/agent-proxy $(HOST_DIR)/bin/agent-proxy
|
||||
endef
|
||||
|
||||
$(eval $(host-generic-package))
|
||||
@ -0,0 +1,51 @@
|
||||
From 7e541e6dba8d4976bbb490838a09b569f38b047d Mon Sep 17 00:00:00 2001
|
||||
From: Luca Ceresoli <luca.ceresoli@bootlin.com>
|
||||
Date: Mon, 26 Jun 2023 17:45:00 +0200
|
||||
Subject: [PATCH] Snmpx: fix const/nonconst type mismatch
|
||||
|
||||
Fixes build failure:
|
||||
|
||||
snmp_pp_ext.cpp:1176:28: error: binding reference of type 'Snmp_pp::Pdu&' to 'const Snmp_pp::Pdu' discards qualifiers
|
||||
1176 | status = snmpmsg.load( pdu, community, version);
|
||||
| ^~~
|
||||
|
||||
Fixes:
|
||||
http://autobuild.buildroot.net/results/e8abd6bdc62a028955915706b03d72239786c703/
|
||||
http://autobuild.buildroot.net/results/24441fb679fbf5f913c9b6431c98aec596ead587/
|
||||
|
||||
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
|
||||
Upstream: sent to katz.agentpp.com@magenta.de and support@agentpp.com
|
||||
---
|
||||
include/agent_pp/snmp_pp_ext.h | 2 +-
|
||||
src/snmp_pp_ext.cpp | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/include/agent_pp/snmp_pp_ext.h b/include/agent_pp/snmp_pp_ext.h
|
||||
index 7c5a6783ee70..d8a46060db98 100644
|
||||
--- a/include/agent_pp/snmp_pp_ext.h
|
||||
+++ b/include/agent_pp/snmp_pp_ext.h
|
||||
@@ -807,7 +807,7 @@ public:
|
||||
* SNMP_CLASS_SUCCESS on success and SNMP_CLASS_ERROR,
|
||||
* SNMP_CLASS_TL_FAILED on failure.
|
||||
*/
|
||||
- int send (Pdux const &, NS_SNMP UdpAddress const &, NS_SNMP snmp_version, NS_SNMP OctetStr const &);
|
||||
+ int send (Pdux &, NS_SNMP UdpAddress const &, NS_SNMP snmp_version, NS_SNMP OctetStr const &);
|
||||
#endif
|
||||
|
||||
/**
|
||||
diff --git a/src/snmp_pp_ext.cpp b/src/snmp_pp_ext.cpp
|
||||
index 54a29ec8ea28..b61cbf056246 100644
|
||||
--- a/src/snmp_pp_ext.cpp
|
||||
+++ b/src/snmp_pp_ext.cpp
|
||||
@@ -1203,7 +1203,7 @@ int Snmpx::send (Pdux &pdu, SnmpTarget* target)
|
||||
|
||||
#else // _SNMPv3 is not defined
|
||||
|
||||
-int Snmpx::send (Pdux const &pdu,
|
||||
+int Snmpx::send (Pdux &pdu,
|
||||
UdpAddress const &udp_address,
|
||||
snmp_version version,
|
||||
OctetStr const &community)
|
||||
--
|
||||
2.34.1
|
||||
|
||||
23
buildroot-2024.02/package/agentpp/Config.in
Normal file
23
buildroot-2024.02/package/agentpp/Config.in
Normal file
@ -0,0 +1,23 @@
|
||||
config BR2_PACKAGE_AGENTPP
|
||||
bool "agent++"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # snmp++
|
||||
depends on !BR2_STATIC_LIBS # snmp++
|
||||
select BR2_PACKAGE_SNMPPP
|
||||
help
|
||||
AGENT++ is a set of C++ classes which provides a complete
|
||||
protocol engine and dispatch table for the development of
|
||||
SNMP agents. AGENT++ is a multilingual API which supports
|
||||
SNMPv1, SNMPv2c, and SNMPv3. It provides various C++ classes
|
||||
implementing prototypes for scalar and table SNMP managed
|
||||
objects that can be customized by derivation. Additional
|
||||
classes support the development of proxy agents as well as
|
||||
sending notifications.
|
||||
|
||||
SNMPv3 support is enabled if SNMP++ enables it.
|
||||
|
||||
https://www.agentpp.com/api/cpp/agent_pp.html
|
||||
|
||||
comment "agent++ needs a toolchain w/ threads, C++, dynamic library"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
BR2_STATIC_LIBS
|
||||
3
buildroot-2024.02/package/agentpp/agentpp.hash
Normal file
3
buildroot-2024.02/package/agentpp/agentpp.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 e09dc2d40277d468c18f1539ad18f43e0c3a95b10fad8a02184e9ace8bac0d67 agent++-4.6.0.tar.gz
|
||||
sha256 1eb85fc97224598dad1852b5d6483bbcf0aa8608790dcc657a5a2a761ae9c8c6 LICENSE-2_0.txt
|
||||
20
buildroot-2024.02/package/agentpp/agentpp.mk
Normal file
20
buildroot-2024.02/package/agentpp/agentpp.mk
Normal file
@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# agentpp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
AGENTPP_VERSION = 4.6.0
|
||||
AGENTPP_SOURCE = agent++-$(AGENTPP_VERSION).tar.gz
|
||||
AGENTPP_SITE = http://www.agentpp.com/download
|
||||
AGENTPP_LICENSE = Apache-2.0
|
||||
AGENTPP_LICENSE_FILES = LICENSE-2_0.txt
|
||||
AGENTPP_INSTALL_STAGING = YES
|
||||
AGENTPP_DEPENDENCIES = host-pkgconf snmppp
|
||||
AGENTPP_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
|
||||
AGENTPP_CONF_OPTS += \
|
||||
--disable-proxy \
|
||||
--disable-forwarder \
|
||||
--disable-rpath
|
||||
|
||||
$(eval $(autotools-package))
|
||||
20
buildroot-2024.02/package/aircrack-ng/Config.in
Normal file
20
buildroot-2024.02/package/aircrack-ng/Config.in
Normal file
@ -0,0 +1,20 @@
|
||||
config BR2_PACKAGE_AIRCRACK_NG
|
||||
bool "aircrack-ng"
|
||||
depends on BR2_USE_MMU # uses fork()
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_STATIC_LIBS # dlfcn.h
|
||||
select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_LIBGCRYPT
|
||||
select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL
|
||||
help
|
||||
A set of tools for auditing wireless networks
|
||||
|
||||
For complete functionality, also select ethtool, iw,
|
||||
util-linux (utilities and rfkill), and wireless_tools.
|
||||
|
||||
http://www.aircrack-ng.org/
|
||||
|
||||
comment "aircrack-ng needs a toolchain w/ dynamic library, threads, C++"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS \
|
||||
|| !BR2_INSTALL_LIBSTDCPP
|
||||
6
buildroot-2024.02/package/aircrack-ng/aircrack-ng.hash
Normal file
6
buildroot-2024.02/package/aircrack-ng/aircrack-ng.hash
Normal file
@ -0,0 +1,6 @@
|
||||
# From http://www.aircrack-ng.org/downloads.html
|
||||
sha1 bd43a35281c9c81d958b95aa76b4404c29f904ff aircrack-ng-1.7.tar.gz
|
||||
md5 a918ea7146f91d8c799fb770c38f4bec aircrack-ng-1.7.tar.gz
|
||||
|
||||
# Hash for license file:
|
||||
sha256 fc51fd3a97223f2fd47b057202d4a6b0daaedf23b5a1f5ff8723c192fc1e021d LICENSE
|
||||
77
buildroot-2024.02/package/aircrack-ng/aircrack-ng.mk
Normal file
77
buildroot-2024.02/package/aircrack-ng/aircrack-ng.mk
Normal file
@ -0,0 +1,77 @@
|
||||
################################################################################
|
||||
#
|
||||
# aircrack-ng
|
||||
#
|
||||
################################################################################
|
||||
|
||||
AIRCRACK_NG_VERSION = 1.7
|
||||
AIRCRACK_NG_SITE = http://download.aircrack-ng.org
|
||||
AIRCRACK_NG_LICENSE = GPL-2.0+
|
||||
AIRCRACK_NG_LICENSE_FILES = LICENSE
|
||||
AIRCRACK_NG_CPE_ID_VENDOR = aircrack-ng
|
||||
AIRCRACK_NG_DEPENDENCIES = \
|
||||
$(if $(BR2_PACKAGE_CMOCKA),cmocka) \
|
||||
$(if $(BR2_PACKAGE_LIBNL),libnl) \
|
||||
$(if $(BR2_PACKAGE_OPENSSL),openssl) \
|
||||
$(if $(BR2_PACKAGE_PCRE),pcre) \
|
||||
$(if $(BR2_PACKAGE_ZLIB),zlib) \
|
||||
host-pkgconf
|
||||
AIRCRACK_NG_AUTORECONF = YES
|
||||
# Enable buddy-ng, easside-ng, tkiptun-ng, wesside-ng
|
||||
AIRCRACK_NG_CONF_OPTS = --with-experimental
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_SSP),y)
|
||||
AIRCRACK_NG_CONF_OPTS += --with-opt
|
||||
else
|
||||
AIRCRACK_NG_CONF_OPTS += --without-opt
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DUMA),y)
|
||||
AIRCRACK_NG_DEPENDENCIES += duma
|
||||
AIRCRACK_NG_CONF_OPTS += --with-duma
|
||||
else
|
||||
AIRCRACK_NG_CONF_OPTS += --without-duma
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HWLOC),y)
|
||||
AIRCRACK_NG_DEPENDENCIES += hwloc
|
||||
AIRCRACK_NG_CONF_OPTS += --enable-hwloc
|
||||
else
|
||||
AIRCRACK_NG_CONF_OPTS += --disable-hwloc
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_JEMALLOC),y)
|
||||
AIRCRACK_NG_DEPENDENCIES += jemalloc
|
||||
AIRCRACK_NG_CONF_OPTS += --with-jemalloc
|
||||
else
|
||||
AIRCRACK_NG_CONF_OPTS += --without-jemalloc
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
||||
AIRCRACK_NG_DEPENDENCIES += libgcrypt
|
||||
AIRCRACK_NG_CONF_OPTS += \
|
||||
--with-gcrypt \
|
||||
--with-libgcrypt-prefix=$(STAGING_DIR)/usr
|
||||
else
|
||||
AIRCRACK_NG_CONF_OPTS += --without-gcrypt
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBPCAP),y)
|
||||
AIRCRACK_NG_DEPENDENCIES += libpcap
|
||||
AIRCRACK_NG_CONF_OPTS += \
|
||||
--with-libpcap-include=$(STAGING_DIR)/usr/include \
|
||||
--with-libpcap-lib=$(STAGING_DIR)/usr/lib
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
AIRCRACK_NG_CONF_ENV += \
|
||||
LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`"
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SQLITE),y)
|
||||
AIRCRACK_NG_DEPENDENCIES += sqlite
|
||||
AIRCRACK_NG_CONF_OPTS += --with-sqlite3=$(STAGING_DIR)/usr
|
||||
else
|
||||
AIRCRACK_NG_CONF_OPTS += --without-sqlite3
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
@ -0,0 +1,36 @@
|
||||
From 4cb9681ab99db3d8e330ac789e17ec69583aecd4 Mon Sep 17 00:00:00 2001
|
||||
From: Herve Codina <herve.codina@bootlin.com>
|
||||
Date: Thu, 28 Oct 2021 18:39:18 +0200
|
||||
Subject: [PATCH] toolchains: remove --hash-style management
|
||||
|
||||
Using an external toolchain, with an external configuration given
|
||||
using TARGET_GLOBAL_XXXX variables, having '--hash-style=both'
|
||||
in Alchemy toolchains can lead to compilation failure.
|
||||
|
||||
This patch simply removes all --hash-style settings.
|
||||
|
||||
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
|
||||
---
|
||||
toolchains/linux/eglibc/flags.mk | 9 +--------
|
||||
1 file changed, 1 insertion(+), 8 deletions(-)
|
||||
|
||||
diff --git a/toolchains/linux/eglibc/flags.mk b/toolchains/linux/eglibc/flags.mk
|
||||
index 95c0a46..4474729 100644
|
||||
--- a/toolchains/linux/eglibc/flags.mk
|
||||
+++ b/toolchains/linux/eglibc/flags.mk
|
||||
@@ -11,11 +11,4 @@ TARGET_GLOBAL_LDLIBS += -pthread -lrt
|
||||
TARGET_GLOBAL_CFLAGS += -funwind-tables
|
||||
|
||||
# Enable link optimization for binutils's ld.
|
||||
-# gnu hash not supported by mips ABI
|
||||
-ifeq ("$(TARGET_ARCH)","mips")
|
||||
- TARGET_GLOBAL_LDFLAGS += -Wl,-O1
|
||||
-else ifeq ("$(TARGET_ARCH)","mips64")
|
||||
- TARGET_GLOBAL_LDFLAGS += -Wl,-O1
|
||||
-else
|
||||
- TARGET_GLOBAL_LDFLAGS += -Wl,-O1,--hash-style=both
|
||||
-endif
|
||||
+TARGET_GLOBAL_LDFLAGS += -Wl,-O1
|
||||
--
|
||||
2.31.1
|
||||
|
||||
4
buildroot-2024.02/package/alchemy/alchemy.hash
Normal file
4
buildroot-2024.02/package/alchemy/alchemy.hash
Normal file
@ -0,0 +1,4 @@
|
||||
# Locally computed:
|
||||
sha256 346c06b9317691a9371d878b850e61f8bcec4f20132ac95340b9d2571be25ee8 alchemy-d95b3c38cd37814a1b98d0bbf813de7adaaecfbc.tar.gz
|
||||
sha256 542f44eecd9f8806ec1ae285201e442ab547c82d9f8c70e44c977d6332a2bea0 COPYING
|
||||
sha256 49872815ee3de163f07a83737c996e77a5bffa186d06b1e3bb969bfb68c251df README
|
||||
71
buildroot-2024.02/package/alchemy/alchemy.mk
Normal file
71
buildroot-2024.02/package/alchemy/alchemy.mk
Normal file
@ -0,0 +1,71 @@
|
||||
################################################################################
|
||||
#
|
||||
# alchemy
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ALCHEMY_VERSION = d95b3c38cd37814a1b98d0bbf813de7adaaecfbc
|
||||
ALCHEMY_SITE = $(call github,Parrot-Developers,alchemy,$(ALCHEMY_VERSION))
|
||||
ALCHEMY_LICENSE = BSD-3-Clause (Alchemy), GPL-2.0 (kconfig)
|
||||
ALCHEMY_LICENSE_FILES = COPYING README
|
||||
HOST_ALCHEMY_DEPENDENCIES = host-pkgconf host-python3
|
||||
|
||||
ALCHEMY_HOME = $(HOST_DIR)/opt/alchemy
|
||||
ALCHEMY_SDK_BASEDIR = $(STAGING_DIR)/usr/lib/alchemy/sdk
|
||||
|
||||
define HOST_ALCHEMY_INSTALL_CMDS
|
||||
mkdir -p $(ALCHEMY_HOME)
|
||||
cp -rf $(@D)/* $(ALCHEMY_HOME)
|
||||
cp $(HOST_ALCHEMY_PKGDIR)/atom.mk.in $(ALCHEMY_HOME)/atom.mk.in
|
||||
endef
|
||||
|
||||
$(eval $(host-generic-package))
|
||||
|
||||
# Variables used by other packages
|
||||
|
||||
ALCHEMY_MAKE = $(ALCHEMY_HOME)/scripts/alchemake
|
||||
|
||||
# TARGET_ARCH is set to 'xxx' to avoid Alchemy managing the architecture.
|
||||
# When Alchemy manages the architecture, it can add some flags to CFGLAGS and
|
||||
# can lead to incorrect result with the toolchain provided in TARGET_CROSS.
|
||||
# 'xxx' is an unknown architecture for Alchemy. Using this value is a simple
|
||||
# way to disable the Alchemy architecture management.
|
||||
ALCHEMY_TARGET_ENV = \
|
||||
$(TARGET_MAKE_ENV) \
|
||||
ALCHEMY_HOME=$(ALCHEMY_HOME) \
|
||||
ALCHEMY_WORKSPACE_DIR="$(@D)" \
|
||||
ALCHEMY_TARGET_OUT=alchemy-out \
|
||||
PKGCONFIG_BIN=$(PKG_CONFIG_HOST_BINARY) \
|
||||
TARGET_OS=linux \
|
||||
TARGET_OS_FLAVOUR=buildroot \
|
||||
TARGET_CROSS="$(TARGET_CROSS)" \
|
||||
TARGET_ARCH=xxx \
|
||||
TARGET_GLOBAL_CXXFLAGS="$(TARGET_CXXFLAGS)" \
|
||||
TARGET_GLOBAL_LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
TARGET_GLOBAL_FFLAGS="$(TARGET_FCFLAGS)" \
|
||||
TARGET_GLOBAL_FCFLAGS="$(TARGET_FCFLAGS)"
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
ALCHEMY_TARGET_ENV += \
|
||||
TARGET_FORCE_STATIC=1 \
|
||||
TARGET_GLOBAL_CFLAGS="$(TARGET_CFLAGS)"
|
||||
else
|
||||
ALCHEMY_TARGET_ENV += \
|
||||
TARGET_GLOBAL_CFLAGS="$(TARGET_CFLAGS) -fPIC"
|
||||
endif
|
||||
|
||||
# Install an Alchemy SDK file.
|
||||
# This macro can be used by Alchemy packages
|
||||
# $1: Alchemy module name
|
||||
# $2: Alchemy module file name
|
||||
# $3: Alchemy module libraries this module depends on
|
||||
define ALCHEMY_INSTALL_LIB_SDK_FILE
|
||||
$(INSTALL) -m 0644 -D \
|
||||
$(ALCHEMY_HOME)/atom.mk.in \
|
||||
$(ALCHEMY_SDK_BASEDIR)/$($(PKG)_NAME)/atom.mk
|
||||
$(SED) 's#@STAGING_DIR@#$(STAGING_DIR)#' \
|
||||
-e 's#@MODULE@#$(strip $(1))#' \
|
||||
-e 's#@MODULE_FILENAME@#$(strip $(2))#' \
|
||||
-e 's#@LIBRARIES@#$(strip $(3))#' \
|
||||
$(ALCHEMY_SDK_BASEDIR)/$($(PKG)_NAME)/atom.mk
|
||||
endef
|
||||
8
buildroot-2024.02/package/alchemy/atom.mk.in
Normal file
8
buildroot-2024.02/package/alchemy/atom.mk.in
Normal file
@ -0,0 +1,8 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := @MODULE@
|
||||
LOCAL_SDK := @STAGING_DIR@
|
||||
LOCAL_DESTDIR := usr/lib
|
||||
LOCAL_MODULE_FILENAME := @MODULE_FILENAME@
|
||||
LOCAL_LIBRARIES := @LIBRARIES@
|
||||
include $(BUILD_LIBRARY)
|
||||
20
buildroot-2024.02/package/alfred/Config.in
Normal file
20
buildroot-2024.02/package/alfred/Config.in
Normal file
@ -0,0 +1,20 @@
|
||||
config BR2_PACKAGE_ALFRED
|
||||
bool "alfred"
|
||||
depends on !BR2_STATIC_LIBS # dlopen()
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
|
||||
select BR2_PACKAGE_LIBNL
|
||||
help
|
||||
Alfred is a user space daemon for distributing arbitrary
|
||||
local information over the mesh/network in a decentralized
|
||||
fashion.
|
||||
|
||||
This data can be anything which appears to be useful -
|
||||
originally designed to replace the batman-adv visualization
|
||||
(vis), you may distribute hostnames, phone books,
|
||||
administration information, DNS information, the local
|
||||
weather forecast ...
|
||||
|
||||
https://www.open-mesh.org/projects/alfred/wiki
|
||||
|
||||
comment "alfred needs a toolchain w/ dynamic library, threads"
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
5
buildroot-2024.02/package/alfred/alfred.hash
Normal file
5
buildroot-2024.02/package/alfred/alfred.hash
Normal file
@ -0,0 +1,5 @@
|
||||
# From https://downloads.open-mesh.org/batman/stable/sources/alfred/alfred-2022.1.tar.gz.sha1
|
||||
sha1 14e916bda706ccff510f2ea00bb3143c582c9ff2 alfred-2022.1.tar.gz
|
||||
# Locally computed
|
||||
sha256 3a0ac2bb26e0cb3f2732d4873669a0a22e9825e8f9a8e7abac986363f275097f alfred-2022.1.tar.gz
|
||||
sha256 cecbf53d1148e13256ac29f8b900655b7fc8dc12d59939a95bc2323ea1747025 LICENSES/preferred/GPL-2.0
|
||||
25
buildroot-2024.02/package/alfred/alfred.mk
Normal file
25
buildroot-2024.02/package/alfred/alfred.mk
Normal file
@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# alfred
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ALFRED_VERSION = 2022.1
|
||||
ALFRED_SITE = https://downloads.open-mesh.org/batman/stable/sources/alfred
|
||||
ALFRED_LICENSE = GPL-2.0
|
||||
ALFRED_LICENSE_FILES = LICENSES/preferred/GPL-2.0
|
||||
ALFRED_DEPENDENCIES = libnl
|
||||
|
||||
define ALFRED_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
|
||||
$(MAKE) -C $(@D) \
|
||||
CONFIG_ALFRED_CAPABILITIES=n \
|
||||
CONFIG_ALFRED_GPSD=n
|
||||
endef
|
||||
|
||||
define ALFRED_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 -D $(@D)/alfred $(TARGET_DIR)/usr/bin/alfred
|
||||
$(INSTALL) -m 0755 -D $(@D)/vis/batadv-vis $(TARGET_DIR)/usr/bin/batadv-vis
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
@ -0,0 +1,62 @@
|
||||
From 41c029755502acf01ed634db437ac06d09be6c41 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Fri, 13 Apr 2018 09:02:37 +0200
|
||||
Subject: [PATCH] Don't use fork() on noMMU platforms
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
[Jörg: update patch for 1.1.6]
|
||||
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
|
||||
Upstream: http://mailman.alsa-project.org/pipermail/alsa-devel/2018-November/141376.html
|
||||
[Bernd: update patch for 1.2.4 & 1.2.7]
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
---
|
||||
configure.ac | 2 ++
|
||||
src/pcm/pcm_direct.c | 10 +++++++++-
|
||||
2 files changed, 11 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index cce195ae..0c852434 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -52,6 +52,8 @@ dnl Checks for library functions.
|
||||
AC_CHECK_FUNCS([uselocale])
|
||||
AC_CHECK_FUNCS([eaccess])
|
||||
|
||||
+AC_CHECK_FUNC([fork])
|
||||
+
|
||||
SAVE_LIBRARY_VERSION
|
||||
AC_SUBST(LIBTOOL_VERSION_INFO)
|
||||
|
||||
diff --git a/src/pcm/pcm_direct.c b/src/pcm/pcm_direct.c
|
||||
index 2b07eff9..4dc3ea26 100644
|
||||
--- a/src/pcm/pcm_direct.c
|
||||
+++ b/src/pcm/pcm_direct.c
|
||||
@@ -437,13 +437,21 @@ int snd_pcm_direct_server_create(snd_pcm_direct_t *dmix)
|
||||
close(dmix->server_fd);
|
||||
return ret;
|
||||
}
|
||||
-
|
||||
+
|
||||
+#ifdef HAVE_FORK
|
||||
ret = fork();
|
||||
+#else
|
||||
+ ret = vfork();
|
||||
+#endif
|
||||
if (ret < 0) {
|
||||
close(dmix->server_fd);
|
||||
return ret;
|
||||
} else if (ret == 0) {
|
||||
+#ifdef HAVE_FORK
|
||||
ret = fork();
|
||||
+#else
|
||||
+ ret = vfork();
|
||||
+#endif
|
||||
if (ret == 0)
|
||||
server_job(dmix);
|
||||
_exit(EXIT_SUCCESS);
|
||||
--
|
||||
2.14.3
|
||||
|
||||
88
buildroot-2024.02/package/alsa-lib/Config.in
Normal file
88
buildroot-2024.02/package/alsa-lib/Config.in
Normal file
@ -0,0 +1,88 @@
|
||||
comment "alsa-lib needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
menuconfig BR2_PACKAGE_ALSA_LIB
|
||||
bool "alsa-lib"
|
||||
# Even though some parts of alsa-lib use threads only when
|
||||
# available, some PCM plugins use them unconditionally. Since
|
||||
# the usage of alsa-lib on no-thread systems is pretty
|
||||
# unlikely, just require thread support globally for alsa-lib.
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
# Temporary until
|
||||
# https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4913
|
||||
# is fixed
|
||||
select BR2_PACKAGE_ALSA_LIB_PCM
|
||||
help
|
||||
The Advanced Linux Sound Architecture (ALSA) provides audio
|
||||
and MIDI functionality to the Linux operating system.
|
||||
|
||||
http://www.alsa-project.org/
|
||||
|
||||
if BR2_PACKAGE_ALSA_LIB
|
||||
|
||||
config BR2_PACKAGE_ALSA_LIB_PYTHON
|
||||
bool "Python support for alsa-lib"
|
||||
depends on BR2_PACKAGE_PYTHON3
|
||||
help
|
||||
Add python support for alsa-lib.
|
||||
Python will be built and libpython will be installed
|
||||
in the target directory
|
||||
http://www.alsa-project.org/
|
||||
|
||||
config BR2_PACKAGE_ALSA_LIB_DEVDIR
|
||||
string "directory with ALSA device files"
|
||||
default "/dev/snd"
|
||||
|
||||
config BR2_PACKAGE_ALSA_LIB_PCM_PLUGINS
|
||||
string "built PCM plugins"
|
||||
default "all" if BR2_USE_MMU
|
||||
default "copy linear route mulaw alaw adpcm rate plug multi file null empty share meter hooks lfloat ladspa dmix dshare dsnoop asym iec958 softvol extplug ioplug mmap_emul" if !BR2_USE_MMU
|
||||
|
||||
config BR2_PACKAGE_ALSA_LIB_CTL_PLUGINS
|
||||
string "built control plugins"
|
||||
default "all"
|
||||
|
||||
config BR2_PACKAGE_ALSA_LIB_ALOAD
|
||||
bool "aload"
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_ALSA_LIB_MIXER
|
||||
bool "mixer"
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_ALSA_LIB_PCM
|
||||
bool "pcm"
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_ALSA_LIB_RAWMIDI
|
||||
bool "rawmidi"
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_ALSA_LIB_HWDEP
|
||||
bool "hwdep"
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_ALSA_LIB_SEQ
|
||||
bool "seq"
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_ALSA_LIB_UCM
|
||||
bool "ucm"
|
||||
default y
|
||||
select BR2_PACKAGE_ALSA_LIB_MIXER
|
||||
|
||||
config BR2_PACKAGE_ALSA_LIB_ALISP
|
||||
bool "alisp"
|
||||
default y
|
||||
depends on BR2_USE_MMU
|
||||
|
||||
config BR2_PACKAGE_ALSA_LIB_OLD_SYMBOLS
|
||||
bool "old-symbols"
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_ALSA_LIB_TOPOLOGY
|
||||
bool "topology"
|
||||
default y
|
||||
depends on !BR2_STATIC_LIBS
|
||||
|
||||
endif
|
||||
4
buildroot-2024.02/package/alsa-lib/alsa-lib.hash
Normal file
4
buildroot-2024.02/package/alsa-lib/alsa-lib.hash
Normal file
@ -0,0 +1,4 @@
|
||||
# Locally calculated
|
||||
sha256 9f3f2f69b995f9ad37359072fbc69a3a88bfba081fc83e9be30e14662795bb4d alsa-lib-1.2.11.tar.bz2
|
||||
sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYING
|
||||
sha256 bfe16cf823bcff261fc6a062c07ee96660e3c39678f42f39a788a68dbc234ced aserver/COPYING
|
||||
80
buildroot-2024.02/package/alsa-lib/alsa-lib.mk
Normal file
80
buildroot-2024.02/package/alsa-lib/alsa-lib.mk
Normal file
@ -0,0 +1,80 @@
|
||||
################################################################################
|
||||
#
|
||||
# alsa-lib
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ALSA_LIB_VERSION = 1.2.11
|
||||
ALSA_LIB_SOURCE = alsa-lib-$(ALSA_LIB_VERSION).tar.bz2
|
||||
ALSA_LIB_SITE = https://www.alsa-project.org/files/pub/lib
|
||||
ALSA_LIB_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (aserver)
|
||||
ALSA_LIB_LICENSE_FILES = COPYING aserver/COPYING
|
||||
ALSA_LIB_CPE_ID_VENDOR = alsa-project
|
||||
ALSA_LIB_INSTALL_STAGING = YES
|
||||
ALSA_LIB_CFLAGS = $(TARGET_CFLAGS)
|
||||
ALSA_LIB_AUTORECONF = YES
|
||||
ALSA_LIB_CONF_OPTS = \
|
||||
--with-alsa-devdir=$(call qstrip,$(BR2_PACKAGE_ALSA_LIB_DEVDIR)) \
|
||||
--with-pcm-plugins="$(call qstrip,$(BR2_PACKAGE_ALSA_LIB_PCM_PLUGINS))" \
|
||||
--with-ctl-plugins="$(call qstrip,$(BR2_PACKAGE_ALSA_LIB_CTL_PLUGINS))"
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),)
|
||||
ALSA_LIB_CONF_OPTS += --without-versioned
|
||||
endif
|
||||
|
||||
# Can't build with static & shared at the same time (1.0.25+)
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
ALSA_LIB_CONF_OPTS += \
|
||||
--enable-shared=no \
|
||||
--without-libdl
|
||||
else
|
||||
ALSA_LIB_CONF_OPTS += --enable-static=no
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_PACKAGE_ALSA_LIB_ALOAD),y)
|
||||
ALSA_LIB_CONF_OPTS += --disable-aload
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_ALSA_LIB_MIXER),y)
|
||||
ALSA_LIB_CONF_OPTS += --disable-mixer
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_ALSA_LIB_PCM),y)
|
||||
ALSA_LIB_CONF_OPTS += --disable-pcm
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_ALSA_LIB_RAWMIDI),y)
|
||||
ALSA_LIB_CONF_OPTS += --disable-rawmidi
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_ALSA_LIB_HWDEP),y)
|
||||
ALSA_LIB_CONF_OPTS += --disable-hwdep
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_ALSA_LIB_SEQ),y)
|
||||
ALSA_LIB_CONF_OPTS += --disable-seq
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_ALSA_LIB_UCM),y)
|
||||
ALSA_LIB_CONF_OPTS += --disable-ucm
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_ALSA_LIB_ALISP),y)
|
||||
ALSA_LIB_CONF_OPTS += --disable-alisp
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_ALSA_LIB_OLD_SYMBOLS),y)
|
||||
ALSA_LIB_CONF_OPTS += --disable-old-symbols
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_ALSA_LIB_TOPOLOGY),y)
|
||||
ALSA_LIB_CONF_OPTS += --disable-topology
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALSA_LIB_PYTHON),y)
|
||||
ALSA_LIB_CONF_OPTS += \
|
||||
--enable-mixer-pymods \
|
||||
--with-pythonlibs=-lpython$(PYTHON3_VERSION_MAJOR) \
|
||||
--with-pythonincludes=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR)
|
||||
ALSA_LIB_CFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR)
|
||||
ALSA_LIB_DEPENDENCIES += python3
|
||||
else
|
||||
ALSA_LIB_CONF_OPTS += --disable-python
|
||||
endif
|
||||
|
||||
ALSA_LIB_CONF_ENV = \
|
||||
CFLAGS="$(ALSA_LIB_CFLAGS)" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS) -lm"
|
||||
|
||||
$(eval $(autotools-package))
|
||||
8
buildroot-2024.02/package/alsa-plugins/Config.in
Normal file
8
buildroot-2024.02/package/alsa-plugins/Config.in
Normal file
@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_ALSA_PLUGINS
|
||||
bool "alsa-plugins"
|
||||
depends on BR2_PACKAGE_ALSA_LIB
|
||||
select BR2_PACKAGE_ALSA_LIB_HWDEP
|
||||
help
|
||||
Advanced Linux Sound Architecture Plugins
|
||||
|
||||
http://www.alsa-project.org/
|
||||
4
buildroot-2024.02/package/alsa-plugins/alsa-plugins.hash
Normal file
4
buildroot-2024.02/package/alsa-plugins/alsa-plugins.hash
Normal file
@ -0,0 +1,4 @@
|
||||
# Locally calculated
|
||||
sha256 8c337814954bb7c167456733a6046142a2931f12eccba3ec2a4ae618a3432511 alsa-plugins-1.2.7.1.tar.bz2
|
||||
sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYING
|
||||
sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING.GPL
|
||||
36
buildroot-2024.02/package/alsa-plugins/alsa-plugins.mk
Normal file
36
buildroot-2024.02/package/alsa-plugins/alsa-plugins.mk
Normal file
@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
#
|
||||
# alsa-plugins
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ALSA_PLUGINS_VERSION = 1.2.7.1
|
||||
ALSA_PLUGINS_SOURCE = alsa-plugins-$(ALSA_PLUGINS_VERSION).tar.bz2
|
||||
ALSA_PLUGINS_SITE = https://www.alsa-project.org/files/pub/plugins
|
||||
ALSA_PLUGINS_LICENSE = LGPL-2.1+
|
||||
ALSA_PLUGINS_LICENSE_FILES = COPYING
|
||||
ALSA_PLUGINS_DEPENDENCIES = host-pkgconf alsa-lib
|
||||
|
||||
ALSA_PLUGINS_CONF_OPTS = \
|
||||
--disable-jack \
|
||||
--disable-usbstream \
|
||||
--disable-pulseaudio \
|
||||
--disable-libav \
|
||||
--disable-maemo-plugin \
|
||||
--disable-maemo-resource-manager \
|
||||
--with-speex=no
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALSA_UTILS),y)
|
||||
ALSA_PLUGINS_DEPENDENCIES += alsa-utils
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y)
|
||||
ALSA_PLUGINS_CONF_OPTS += --enable-samplerate
|
||||
ALSA_PLUGINS_DEPENDENCIES += libsamplerate
|
||||
ALSA_PLUGINS_LICENSE += , GPL-2.0+ (samplerate plugin)
|
||||
ALSA_PLUGINS_LICENSE_FILES += COPYING.GPL
|
||||
else
|
||||
ALSA_PLUGINS_CONF_OPTS += --disable-samplerate
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
@ -0,0 +1,110 @@
|
||||
From 4bfd1f15114550e1be7e43ae37a61906e1bff809 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Sun, 17 Jul 2022 18:59:48 +0200
|
||||
Subject: [PATCH] alsactl/info.c: fix conditionals on __ALSA_PCM_H and
|
||||
__ALSA_RAWMIDI_H
|
||||
|
||||
Commit bbc74a61ac7c35e506c3d7f76ecf943cb55736a6 ("alsactl: implement
|
||||
'info' command") implemented an alsactl info command. In this
|
||||
implementation, there was an attempt to properly address optional
|
||||
features from alsa-lib by using conditions on __ALSA_PCM_H,
|
||||
__ALSA_RAWMIDI_H.
|
||||
|
||||
Unfortunately, this attempt does not work entirely: only the code
|
||||
inside pcm_device_list(), rawmidi_device_list() was conditionally
|
||||
compiled, but their very prototype also use type definitions provided
|
||||
in pcm.h and rawmidi.h. So really, it's the entire function that needs
|
||||
to be conditionally implemented.
|
||||
|
||||
Also, snd_rawmidi_stream_name() was not handled properly, for the same
|
||||
reason.
|
||||
|
||||
This commit implements pcm_device_list() only if __ALSA_PCM_H is
|
||||
defined, and implements snd_rawmidi_stream_name() and
|
||||
rawmidi_device_list() only if __ALSA_RAWMIDI_H is defined.
|
||||
|
||||
general_card_info() is modified to not call the PCM or raw MIDI
|
||||
functions when support is not available.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Upstream: https://mailman.alsa-project.org/pipermail/alsa-devel/2022-July/203846.html
|
||||
[Bernd: update patch for 1.2.10]
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
alsactl/info.c | 14 ++++++++++----
|
||||
1 file changed, 10 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/alsactl/info.c b/alsactl/info.c
|
||||
index 253539d..9bd72af 100644
|
||||
--- a/alsactl/info.c
|
||||
+++ b/alsactl/info.c
|
||||
@@ -22,9 +22,9 @@
|
||||
#include "aconfig.h"
|
||||
#include "alsactl.h"
|
||||
|
||||
+#ifdef __ALSA_PCM_H
|
||||
static int pcm_device_list(snd_ctl_t *ctl, snd_pcm_stream_t stream, bool *first)
|
||||
{
|
||||
-#ifdef __ALSA_PCM_H
|
||||
int err, dev, idx;
|
||||
unsigned int count;
|
||||
snd_pcm_info_t *pcminfo;
|
||||
@@ -76,10 +76,12 @@ static int pcm_device_list(snd_ctl_t *ctl, snd_pcm_stream_t stream, bool *first)
|
||||
idx, snd_pcm_info_get_subdevice_name(pcminfo));
|
||||
}
|
||||
}
|
||||
-#endif
|
||||
+
|
||||
return 0;
|
||||
}
|
||||
+#endif
|
||||
|
||||
+#ifdef __ALSA_RAWMIDI_H
|
||||
static const char *snd_rawmidi_stream_name(snd_rawmidi_stream_t stream)
|
||||
{
|
||||
if (stream == SND_RAWMIDI_STREAM_INPUT)
|
||||
@@ -91,7 +93,6 @@ static const char *snd_rawmidi_stream_name(snd_rawmidi_stream_t stream)
|
||||
|
||||
static int rawmidi_device_list(snd_ctl_t *ctl, snd_rawmidi_stream_t stream, bool *first)
|
||||
{
|
||||
-#ifdef __ALSA_RAWMIDI_H
|
||||
int err, dev, idx;
|
||||
unsigned int count;
|
||||
snd_rawmidi_info_t *info;
|
||||
@@ -143,9 +144,10 @@ static int rawmidi_device_list(snd_ctl_t *ctl, snd_rawmidi_stream_t stream, bool
|
||||
idx, snd_rawmidi_info_get_subdevice_name(info));
|
||||
}
|
||||
}
|
||||
-#endif
|
||||
+
|
||||
return 0;
|
||||
}
|
||||
+#endif
|
||||
|
||||
static int hwdep_device_list(snd_ctl_t *ctl)
|
||||
{
|
||||
@@ -227,17 +229,21 @@ int general_card_info(int cardno)
|
||||
}
|
||||
err = card_info(ctl);
|
||||
|
||||
+#ifdef __ALSA_PCM_H
|
||||
first = true;
|
||||
if (err >= 0)
|
||||
err = pcm_device_list(ctl, SND_PCM_STREAM_PLAYBACK, &first);
|
||||
if (err >= 0)
|
||||
err = pcm_device_list(ctl, SND_PCM_STREAM_CAPTURE, &first);
|
||||
+#endif
|
||||
|
||||
+#ifdef __ALSA_RAWMIDI_H
|
||||
first = true;
|
||||
if (err >= 0)
|
||||
err = rawmidi_device_list(ctl, SND_RAWMIDI_STREAM_INPUT, &first);
|
||||
if (err >= 0)
|
||||
err = rawmidi_device_list(ctl, SND_RAWMIDI_STREAM_OUTPUT, &first);
|
||||
+#endif
|
||||
|
||||
if (err >= 0)
|
||||
err = hwdep_device_list(ctl);
|
||||
--
|
||||
2.36.1
|
||||
|
||||
100
buildroot-2024.02/package/alsa-utils/Config.in
Normal file
100
buildroot-2024.02/package/alsa-utils/Config.in
Normal file
@ -0,0 +1,100 @@
|
||||
comment "alsa-utils needs a toolchain w/ threads"
|
||||
depends on BR2_USE_MMU # fork
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
menuconfig BR2_PACKAGE_ALSA_UTILS
|
||||
bool "alsa-utils"
|
||||
depends on BR2_USE_MMU # fork
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
|
||||
select BR2_PACKAGE_ALSA_LIB
|
||||
help
|
||||
This package contains the command line utilities for the ALSA
|
||||
project.
|
||||
|
||||
http://www.alsa-project.org/
|
||||
|
||||
if BR2_PACKAGE_ALSA_UTILS
|
||||
|
||||
config BR2_PACKAGE_ALSA_UTILS_ALSACONF
|
||||
bool "alsaconf"
|
||||
|
||||
config BR2_PACKAGE_ALSA_UTILS_ACONNECT
|
||||
bool "aconnect"
|
||||
select BR2_PACKAGE_ALSA_LIB_SEQ
|
||||
|
||||
config BR2_PACKAGE_ALSA_UTILS_ALSACTL
|
||||
bool "alsactl"
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_ALSA_UTILS_ALSALOOP
|
||||
bool "alsaloop"
|
||||
|
||||
config BR2_PACKAGE_ALSA_UTILS_ALSAMIXER
|
||||
bool "alsamixer"
|
||||
default y
|
||||
depends on BR2_USE_WCHAR
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_PACKAGE_ALSA_LIB_MIXER
|
||||
|
||||
comment "alsamixer needs a toolchain w/ wchar"
|
||||
depends on !BR2_USE_WCHAR
|
||||
|
||||
config BR2_PACKAGE_ALSA_UTILS_ALSAUCM
|
||||
bool "alsaucm"
|
||||
select BR2_PACKAGE_ALSA_LIB_UCM
|
||||
|
||||
config BR2_PACKAGE_ALSA_UTILS_ALSATPLG
|
||||
bool "alsatplg"
|
||||
depends on !BR2_STATIC_LIBS # dlfcn.h
|
||||
select BR2_PACKAGE_ALSA_LIB_TOPOLOGY
|
||||
|
||||
comment "alsatplg needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
|
||||
config BR2_PACKAGE_ALSA_UTILS_AMIDI
|
||||
bool "amidi"
|
||||
select BR2_PACKAGE_ALSA_LIB_RAWMIDI
|
||||
|
||||
config BR2_PACKAGE_ALSA_UTILS_AMIXER
|
||||
bool "amixer"
|
||||
select BR2_PACKAGE_ALSA_LIB_MIXER
|
||||
|
||||
config BR2_PACKAGE_ALSA_UTILS_APLAY
|
||||
bool "aplay/arecord"
|
||||
select BR2_PACKAGE_ALSA_LIB_PCM
|
||||
|
||||
config BR2_PACKAGE_ALSA_UTILS_APLAYMIDI
|
||||
bool "aplaymidi"
|
||||
select BR2_PACKAGE_ALSA_LIB_SEQ
|
||||
|
||||
config BR2_PACKAGE_ALSA_UTILS_ARECORDMIDI
|
||||
bool "arecordmidi"
|
||||
select BR2_PACKAGE_ALSA_LIB_SEQ
|
||||
|
||||
config BR2_PACKAGE_ALSA_UTILS_ASEQDUMP
|
||||
bool "aseqdump"
|
||||
select BR2_PACKAGE_ALSA_LIB_SEQ
|
||||
|
||||
config BR2_PACKAGE_ALSA_UTILS_ASEQNET
|
||||
bool "aseqnet"
|
||||
select BR2_PACKAGE_ALSA_LIB_SEQ
|
||||
|
||||
config BR2_PACKAGE_ALSA_UTILS_BAT
|
||||
bool "bat"
|
||||
help
|
||||
ALSABAT (ALSA Basic Audio Tester) is a simple command-line
|
||||
utility intended to help automate audio driver and sound
|
||||
server testing with little human interaction.
|
||||
|
||||
Note that analysis support in alsabat requires fftw single
|
||||
precision.
|
||||
|
||||
config BR2_PACKAGE_ALSA_UTILS_IECSET
|
||||
bool "iecset"
|
||||
select BR2_PACKAGE_ALSA_LIB_PCM
|
||||
|
||||
config BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST
|
||||
bool "speaker-test"
|
||||
select BR2_PACKAGE_ALSA_LIB_PCM
|
||||
|
||||
endif
|
||||
3
buildroot-2024.02/package/alsa-utils/alsa-utils.hash
Normal file
3
buildroot-2024.02/package/alsa-utils/alsa-utils.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 9ac6ca3a883f151e568dcf979b8d2e5cbecc51b819bb0e6bb8a2e9b34cc428a7 alsa-utils-1.2.11.tar.bz2
|
||||
sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING
|
||||
103
buildroot-2024.02/package/alsa-utils/alsa-utils.mk
Normal file
103
buildroot-2024.02/package/alsa-utils/alsa-utils.mk
Normal file
@ -0,0 +1,103 @@
|
||||
################################################################################
|
||||
#
|
||||
# alsa-utils
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ALSA_UTILS_VERSION = 1.2.11
|
||||
ALSA_UTILS_SOURCE = alsa-utils-$(ALSA_UTILS_VERSION).tar.bz2
|
||||
ALSA_UTILS_SITE = https://www.alsa-project.org/files/pub/utils
|
||||
ALSA_UTILS_LICENSE = GPL-2.0
|
||||
ALSA_UTILS_LICENSE_FILES = COPYING
|
||||
# 0011-configure.ac-fix-UMP-support-detection.patch
|
||||
ALSA_UTILS_AUTORECONF = YES
|
||||
ALSA_UTILS_INSTALL_STAGING = YES
|
||||
ALSA_UTILS_DEPENDENCIES = host-pkgconf alsa-lib \
|
||||
$(if $(BR2_PACKAGE_NCURSES),ncurses) \
|
||||
$(if $(BR2_PACKAGE_LIBSAMPLERATE),libsamplerate) \
|
||||
$(TARGET_NLS_DEPENDENCIES)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALSA_UTILS_ALSACTL),y)
|
||||
ALSA_UTILS_SELINUX_MODULES += alsa
|
||||
endif
|
||||
|
||||
ALSA_UTILS_CONF_ENV = \
|
||||
ac_cv_prog_ncurses5_config=$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS) \
|
||||
LIBS=$(TARGET_NLS_LIBS)
|
||||
|
||||
ALSA_UTILS_CONF_OPTS = \
|
||||
--disable-xmlto \
|
||||
--disable-rst2man \
|
||||
--with-curses=$(if $(BR2_PACKAGE_NCURSES_WCHAR),ncursesw,ncurses)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALSA_UTILS_ALSALOOP),y)
|
||||
ALSA_UTILS_CONF_OPTS += --enable-alsaloop
|
||||
else
|
||||
ALSA_UTILS_CONF_OPTS += --disable-alsaloop
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_PACKAGE_ALSA_UTILS_ALSAMIXER),y)
|
||||
ALSA_UTILS_CONF_OPTS += --disable-alsamixer
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALSA_UTILS_BAT),y)
|
||||
ALSA_UTILS_CONF_OPTS += --enable-bat
|
||||
# Analysis support requires fftw single precision
|
||||
ALSA_UTILS_DEPENDENCIES += $(if $(BR2_PACKAGE_FFTW_SINGLE),fftw-single)
|
||||
else
|
||||
ALSA_UTILS_CONF_OPTS += --disable-bat
|
||||
endif
|
||||
|
||||
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSACONF) += usr/sbin/alsaconf
|
||||
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSACTL) += usr/sbin/alsactl
|
||||
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSALOOP) += usr/bin/alsaloop
|
||||
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSAMIXER) += usr/bin/alsamixer
|
||||
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSATPLG) += usr/bin/alsatplg
|
||||
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_AMIDI) += usr/bin/amidi
|
||||
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_AMIXER) += usr/bin/amixer
|
||||
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_APLAY) += usr/bin/aplay usr/bin/arecord
|
||||
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_BAT) += usr/bin/alsabat
|
||||
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_IECSET) += usr/bin/iecset
|
||||
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ACONNECT) += usr/bin/aconnect
|
||||
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSAUCM) += usr/bin/alsaucm
|
||||
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_APLAYMIDI) += usr/bin/aplaymidi
|
||||
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ARECORDMIDI) += usr/bin/arecordmidi
|
||||
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ASEQDUMP) += usr/bin/aseqdump
|
||||
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ASEQNET) += usr/bin/aseqnet
|
||||
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST) += usr/bin/speaker-test
|
||||
|
||||
define ALSA_UTILS_INSTALL_TARGET_CMDS
|
||||
mkdir -p $(TARGET_DIR)/var/lib/alsa
|
||||
for i in $(ALSA_UTILS_TARGETS_y); do \
|
||||
$(INSTALL) -D -m 755 $(STAGING_DIR)/$$i $(TARGET_DIR)/$$i || exit 1; \
|
||||
done
|
||||
if [ -x "$(TARGET_DIR)/usr/bin/speaker-test" ]; then \
|
||||
mkdir -p $(TARGET_DIR)/usr/share/alsa/speaker-test; \
|
||||
mkdir -p $(TARGET_DIR)/usr/share/sounds/alsa; \
|
||||
cp -rdpf $(STAGING_DIR)/usr/share/alsa/speaker-test/* $(TARGET_DIR)/usr/share/alsa/speaker-test/; \
|
||||
cp -rdpf $(STAGING_DIR)/usr/share/sounds/alsa/* $(TARGET_DIR)/usr/share/sounds/alsa/; \
|
||||
fi
|
||||
if [ -x "$(TARGET_DIR)/usr/sbin/alsactl" ]; then \
|
||||
mkdir -p $(TARGET_DIR)/usr/share/; \
|
||||
cp -rdpf $(STAGING_DIR)/usr/share/alsa/* $(TARGET_DIR)/usr/share/alsa/; \
|
||||
fi
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALSA_UTILS_ALSACTL)$(BR2_INIT_SYSTEMD),yy)
|
||||
ALSA_UTILS_DEPENDENCIES += systemd
|
||||
ALSA_UTILS_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system
|
||||
define ALSA_UTILS_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 $(@D)/alsactl/alsa-restore.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/alsa-restore.service
|
||||
$(INSTALL) -D -m 0644 $(@D)/alsactl/alsa-state.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/alsa-state.service
|
||||
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/lib/systemd/system/alsa-restore.service.d
|
||||
printf '[Install]\nWantedBy=multi-user.target\n' \
|
||||
>$(TARGET_DIR)/usr/lib/systemd/system/alsa-restore.service.d/buildroot-enable.conf
|
||||
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/lib/systemd/system/alsa-state.service.d
|
||||
printf '[Install]\nWantedBy=multi-user.target\n' \
|
||||
>$(TARGET_DIR)/usr/lib/systemd/system/alsa-state.service.d/buildroot-enable.conf;
|
||||
endef
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
40
buildroot-2024.02/package/alsamixergui/0001-misc-fixes.patch
Normal file
40
buildroot-2024.02/package/alsamixergui/0001-misc-fixes.patch
Normal file
@ -0,0 +1,40 @@
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -11,7 +11,10 @@
|
||||
AC_PROG_LN_S
|
||||
|
||||
dnl Checks for libraries.
|
||||
-AC_CHECK_LIB(fltk,numericsort,,AC_MSG_ERROR("missing fltk"))
|
||||
+AC_CHECK_LIB(fltk,numericsort,,
|
||||
+AC_CHECK_LIB(fltk,fl_numericsort,,
|
||||
+AC_MSG_ERROR("missing fltk"))
|
||||
+)
|
||||
AM_PATH_ALSA(0.9.0)
|
||||
|
||||
dnl Checks for header files.
|
||||
--- a/src/alsamixer.cxx 2007-10-21 12:39:11.000000000 -0400
|
||||
+++ b/src/alsamixer.cxx 2007-10-21 12:49:10.000000000 -0400
|
||||
@@ -2081,8 +2081,8 @@ static void
|
||||
mixer_signal_handler (int signal)
|
||||
{
|
||||
if (signal != SIGSEGV)
|
||||
- mixer_abort (ERR_SIGNAL, sys_siglist[signal], 0);
|
||||
- else
|
||||
+ // mixer_abort (ERR_SIGNAL, sys_siglist[signal], 0);
|
||||
+ //else
|
||||
{
|
||||
fprintf (stderr, "\nSegmentation fault.\n");
|
||||
_exit (11);
|
||||
--- a/src/alsamixer.cxx 2006-01-16 12:41:54.000000000 -0600
|
||||
+++ b/src/alsamixer.cxx 2006-01-16 12:45:44.000000000 -0600
|
||||
@@ -653,8 +653,8 @@
|
||||
if (vleft >= 0 && vright >= 0) {
|
||||
if (joined) {
|
||||
#ifdef ALSAMIXER_GUI
|
||||
- for (chn = snd_mixer_selem_channel_id_t(0); chn < SND_MIXER_SCHN_LAST;
|
||||
- snd_mixer_selem_channel_id_t(int(chn)++))
|
||||
+ for (chn = snd_mixer_selem_channel_id_t(0); chn < SND_MIXER_SCHN_LAST;
|
||||
+ snd_mixer_selem_channel_id_t(int(chn)+1))
|
||||
#else
|
||||
for (chn = 0; chn < SND_MIXER_SCHN_LAST; chn++)
|
||||
#endif
|
||||
@ -0,0 +1,53 @@
|
||||
From c154195fa161575363280aac9e928b7225f0de9e Mon Sep 17 00:00:00 2001
|
||||
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
Date: Sun, 29 Dec 2019 17:42:13 +0100
|
||||
Subject: [PATCH] configure: fix detection of fltk libs
|
||||
|
||||
Chaining calls to AC_CHECK_LIB one in the other, breaks the configure
|
||||
script, because some internal functions (e.g. ac_fn_c_try_link) would
|
||||
not be defined before they are needed, leading the build to fail as
|
||||
thus:
|
||||
|
||||
checking for snd_tplg_new in -latopology... ./configure: line 4630:
|
||||
ac_fn_c_try_link: command not found
|
||||
no
|
||||
configure: error: No linkable libatopology was found.
|
||||
|
||||
Using AC_CHECK_LIB() in sequence (i.e. one after the other) and
|
||||
memorising the result is not trivial: AC_CHECK_LIB() implements a
|
||||
ddefault action-if-found that append to LIBS, but not if the user
|
||||
ptrovides their own action-if-found.
|
||||
|
||||
Instead, AC_SEARH_LIBS() always append to LIBS, *and* run the
|
||||
user-provided action.
|
||||
|
||||
So, we switch to AC_SEARCH_LIBS() and memorise the result for each
|
||||
test, to eventually test if ether worked.
|
||||
|
||||
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
|
||||
---
|
||||
configure.in | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index 9307cc2..55f6864 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -11,10 +11,10 @@ AC_PROG_INSTALL
|
||||
AC_PROG_LN_S
|
||||
|
||||
dnl Checks for libraries.
|
||||
-AC_CHECK_LIB(fltk,numericsort,,
|
||||
-AC_CHECK_LIB(fltk,fl_numericsort,,
|
||||
-AC_MSG_ERROR("missing fltk"))
|
||||
-)
|
||||
+has_fltk=false
|
||||
+AC_SEARCH_LIBS(numericsort,fltk,has_fltk=true)
|
||||
+AC_SEARCH_LIBS(fl_numericsort,fltk,has_fltk=true)
|
||||
+AS_IF(test "${has_fltk}" = "false", AC_MSG_ERROR("missing fltk"))
|
||||
AM_PATH_ALSA(0.9.0)
|
||||
|
||||
dnl Checks for header files.
|
||||
--
|
||||
2.20.1
|
||||
|
||||
18
buildroot-2024.02/package/alsamixergui/Config.in
Normal file
18
buildroot-2024.02/package/alsamixergui/Config.in
Normal file
@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_ALSAMIXERGUI
|
||||
bool "alsamixergui"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_MMU # fltk fork()
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
|
||||
select BR2_PACKAGE_FLTK
|
||||
select BR2_PACKAGE_ALSA_LIB
|
||||
select BR2_PACKAGE_ALSA_LIB_PCM
|
||||
select BR2_PACKAGE_ALSA_LIB_MIXER
|
||||
help
|
||||
A nice GUI mixer for Alsa using fltk
|
||||
|
||||
http://www.iua.upf.es/~mdeboer/projects/alsamixergui/
|
||||
|
||||
comment "alsamixergui needs a toolchain w/ C++, threads"
|
||||
depends on BR2_PACKAGE_XORG7 && BR2_USE_MMU
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
4
buildroot-2024.02/package/alsamixergui/alsamixergui.hash
Normal file
4
buildroot-2024.02/package/alsamixergui/alsamixergui.hash
Normal file
@ -0,0 +1,4 @@
|
||||
# From http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/a/alsamixergui/alsamixergui_0.9.0rc2-1-9.dsc
|
||||
md5 af942a41b81ba27e2e4d0a1e1ab0decb alsamixergui_0.9.0rc2-1.orig.tar.gz
|
||||
# locally computed
|
||||
sha256 ea617b76dcd0df74576686ca34c281f43bb9d844015cea91e3debc91538d2b1d debian/copyright
|
||||
16
buildroot-2024.02/package/alsamixergui/alsamixergui.mk
Normal file
16
buildroot-2024.02/package/alsamixergui/alsamixergui.mk
Normal file
@ -0,0 +1,16 @@
|
||||
################################################################################
|
||||
#
|
||||
# alsamixergui
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ALSAMIXERGUI_VERSION = 0.9.0rc2-1
|
||||
ALSAMIXERGUI_SOURCE = alsamixergui_$(ALSAMIXERGUI_VERSION).orig.tar.gz
|
||||
ALSAMIXERGUI_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/a/alsamixergui
|
||||
ALSAMIXERGUI_LICENSE = GPL-2.0+
|
||||
ALSAMIXERGUI_LICENSE_FILES = debian/copyright
|
||||
ALSAMIXERGUI_AUTORECONF = YES
|
||||
|
||||
ALSAMIXERGUI_DEPENDENCIES = fltk alsa-lib
|
||||
|
||||
$(eval $(autotools-package))
|
||||
8
buildroot-2024.02/package/altera-stapl/Config.in
Normal file
8
buildroot-2024.02/package/altera-stapl/Config.in
Normal file
@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_ALTERA_STAPL
|
||||
bool "altera-stapl"
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 # libgpiod
|
||||
select BR2_PACKAGE_LIBGPIOD
|
||||
help
|
||||
Altera Jam STAPL Bytecode Player.
|
||||
|
||||
https://github.com/kontron/altera-stapl
|
||||
2
buildroot-2024.02/package/altera-stapl/altera-stapl.hash
Normal file
2
buildroot-2024.02/package/altera-stapl/altera-stapl.hash
Normal file
@ -0,0 +1,2 @@
|
||||
sha256 a4d85a79790eab851399132fce4524979fe764d5297413b2445673e6a190bb42 altera-stapl-0.3.3.tar.gz
|
||||
sha256 d8c320ffc0030d1b096ae4732b50d2b811cf95e9a9b7377c1127b2563e0a0388 COPYING
|
||||
21
buildroot-2024.02/package/altera-stapl/altera-stapl.mk
Normal file
21
buildroot-2024.02/package/altera-stapl/altera-stapl.mk
Normal file
@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# altera-stapl
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ALTERA_STAPL_VERSION = 0.3.3
|
||||
ALTERA_STAPL_SITE = $(call github,kontron,altera-stapl,$(ALTERA_STAPL_VERSION))
|
||||
ALTERA_STAPL_LICENSE = GPLv2+
|
||||
ALTERA_STAPL_LICENSE_FILES = COPYING
|
||||
ALTERA_STAPL_DEPENDENCIES = libgpiod
|
||||
|
||||
define ALTERA_STAPL_BUILD_CMDS
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
|
||||
endef
|
||||
|
||||
define ALTERA_STAPL_INSTALL_TARGET_CMDS
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) DESTDIR=$(TARGET_DIR) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
61
buildroot-2024.02/package/alure/Config.in
Normal file
61
buildroot-2024.02/package/alure/Config.in
Normal file
@ -0,0 +1,61 @@
|
||||
config BR2_PACKAGE_ALURE
|
||||
bool "alure"
|
||||
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal
|
||||
depends on BR2_USE_WCHAR # use wchar_t
|
||||
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future
|
||||
select BR2_PACKAGE_OPENAL
|
||||
help
|
||||
Alure is a C++ 3D audio API. It uses OpenAL for audio
|
||||
rendering, and provides common higher-level features such as
|
||||
file loading and decoding, buffer caching, background
|
||||
streaming, and source management for virtually unlimited
|
||||
sound source handles.
|
||||
|
||||
https://kcat.strangesoft.net/alure.html
|
||||
|
||||
if BR2_PACKAGE_ALURE
|
||||
|
||||
config BR2_PACKAGE_ALURE_FLAC_DECODER
|
||||
bool "flac decoder"
|
||||
help
|
||||
Enables the built-in FLAC decoder.
|
||||
|
||||
config BR2_PACKAGE_ALURE_MINIMP3_DECODER
|
||||
bool "minimp3 decoder"
|
||||
help
|
||||
Enables the built-in minimp3 decoder.
|
||||
|
||||
config BR2_PACKAGE_ALURE_OPUS_DECODER
|
||||
bool "opus decoder"
|
||||
select BR2_PACKAGE_LIBOGG
|
||||
select BR2_PACKAGE_OPUS
|
||||
help
|
||||
Enables the built-in libopusfile decoder.
|
||||
|
||||
config BR2_PACKAGE_ALURE_SNDFILE_DECODER
|
||||
bool "sndfile decoder"
|
||||
select BR2_PACKAGE_LIBSNDFILE
|
||||
help
|
||||
Enables the built-in libsndfile decoder.
|
||||
|
||||
config BR2_PACKAGE_ALURE_VORBIS_DECODER
|
||||
bool "vorbis decoder"
|
||||
select BR2_PACKAGE_LIBOGG
|
||||
select BR2_PACKAGE_LIBVORBIS
|
||||
help
|
||||
Enables the built-in libvorbis decoder.
|
||||
|
||||
endif
|
||||
|
||||
comment "alure needs a toolchain w/ C++, gcc >= 4.9, NPTL, wchar"
|
||||
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
|
||||
depends on !BR2_INSTALL_LIBSTDCPP \
|
||||
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \
|
||||
|| !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR
|
||||
|
||||
comment "alure needs a toolchain not affected by GCC bug 64735"
|
||||
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
||||
3
buildroot-2024.02/package/alure/alure.hash
Normal file
3
buildroot-2024.02/package/alure/alure.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 9b808e5b5a54d156348221dc86704c7831115047d5238691e6088f8c4814b2ca alure-14beed2a86d5a36030e907b21c46614d505f07cd.tar.gz
|
||||
sha256 7331ddc67daaf1a283c81e8dc17bac8dc40f54ed3fab3d3964616f4bd502a0a3 LICENSE
|
||||
65
buildroot-2024.02/package/alure/alure.mk
Normal file
65
buildroot-2024.02/package/alure/alure.mk
Normal file
@ -0,0 +1,65 @@
|
||||
################################################################################
|
||||
#
|
||||
# alure
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ALURE_VERSION = 14beed2a86d5a36030e907b21c46614d505f07cd
|
||||
ALURE_SITE = $(call github,kcat,alure,$(ALURE_VERSION))
|
||||
ALURE_LICENSE = Zlib, Public Domain (src/decoders/dr_flac.h)
|
||||
ALURE_LICENSE_FILES = LICENSE
|
||||
ALURE_INSTALL_STAGING = YES
|
||||
|
||||
ALURE_DEPENDENCIES = openal
|
||||
|
||||
# Disabling alure examples remove the dependecies on physfs and dump libraries.
|
||||
# Enable at least one built-in decoder (wave).
|
||||
ALURE_CONF_OPTS = -DALURE_INSTALL=ON \
|
||||
-DALURE_BUILD_EXAMPLES=OFF \
|
||||
-DALURE_ENABLE_WAVE=ON
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALURE_FLAC_DECODER),y)
|
||||
ALURE_CONF_OPTS += -DALURE_ENABLE_FLAC=ON
|
||||
else
|
||||
ALURE_CONF_OPTS += -DALURE_ENABLE_FLAC=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALURE_MINIMP3_DECODER),y)
|
||||
ALURE_CONF_OPTS += -DALURE_ENABLE_MINIMP3=ON
|
||||
else
|
||||
ALURE_CONF_OPTS += -DALURE_ENABLE_MINIMP3=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALURE_OPUS_DECODER),y)
|
||||
ALURE_CONF_OPTS += -DALURE_ENABLE_OPUS=ON
|
||||
ALURE_DEPENDENCIES += libogg opus
|
||||
else
|
||||
ALURE_CONF_OPTS += -DALURE_ENABLE_OPUS=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALURE_SNDFILE_DECODER),y)
|
||||
ALURE_CONF_OPTS += -DALURE_ENABLE_SNDFILE=ON
|
||||
ALURE_DEPENDENCIES += libsndfile
|
||||
else
|
||||
ALURE_CONF_OPTS += -DALURE_ENABLE_SNDFILE=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALURE_VORBIS_DECODER),y)
|
||||
ALURE_CONF_OPTS += -DALURE_ENABLE_VORBIS=ON
|
||||
ALURE_DEPENDENCIES += libogg libvorbis
|
||||
else
|
||||
ALURE_CONF_OPTS += -DALURE_ENABLE_VORBIS=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
ALURE_CONF_OPTS += -DALURE_BUILD_SHARED=OFF \
|
||||
-DALURE_BUILD_STATIC=ON
|
||||
else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
|
||||
ALURE_CONF_OPTS += -DALURE_BUILD_SHARED=ON \
|
||||
-DALURE_BUILD_STATIC=ON
|
||||
else
|
||||
ALURE_CONF_OPTS += -DALURE_BUILD_SHARED=ON \
|
||||
-DALURE_BUILD_STATIC=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
@ -0,0 +1,23 @@
|
||||
Makefile: do not force the release build on install
|
||||
|
||||
If we did build any of the other targets, and are just interested
|
||||
in those and not the release one, we still want to use the 'install'
|
||||
rule, but not build (and install) the release libraries.
|
||||
|
||||
So, remove the dependency on the 'release' target from the 'install'
|
||||
rule.
|
||||
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
|
||||
diff -durN am335x-pru-package-506e074859891a2b350eb4f5fcb451c4961410ea.orig/pru_sw/app_loader/interface/Makefile am335x-pru-package-506e074859891a2b350eb4f5fcb451c4961410ea/pru_sw/app_loader/interface/Makefile
|
||||
--- am335x-pru-package-506e074859891a2b350eb4f5fcb451c4961410ea.orig/pru_sw/app_loader/interface/Makefile 2014-08-18 00:24:36.000000000 +0200
|
||||
+++ am335x-pru-package-506e074859891a2b350eb4f5fcb451c4961410ea/pru_sw/app_loader/interface/Makefile 2014-10-12 11:39:17.144682697 +0200
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
all: debug release sodebug sorelease
|
||||
|
||||
-install: release
|
||||
+install:
|
||||
install -m 0755 -d $(DESTDIR)$(PREFIX)/lib
|
||||
install -m 0755 -d $(DESTDIR)$(PREFIX)/include
|
||||
install -m 0644 $(LIBDIR)/* $(DESTDIR)$(PREFIX)/lib
|
||||
7
buildroot-2024.02/package/am335x-pru-package/Config.in
Normal file
7
buildroot-2024.02/package/am335x-pru-package/Config.in
Normal file
@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_AM335X_PRU_PACKAGE
|
||||
bool "am335x-pru-package"
|
||||
depends on BR2_arm # only relevant for TI am335x
|
||||
help
|
||||
TI AM335X PRU program loader
|
||||
|
||||
https://github.com/beagleboard/am335x_pru_package
|
||||
@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 2a902f825ccc1885c5dccd83e1ccee104aa30e601c9964a24f49459f76f674b9 am335x-pru-package-5f374ad57cc195f28bf5e585c3d446aba6ee7096.tar.gz
|
||||
sha256 f0fcdf9b2090896389eb4b784f23be96d5544c5ce5282d84f82ae9a8e8331beb pru_sw/utils/LICENCE.txt
|
||||
@ -0,0 +1,74 @@
|
||||
################################################################################
|
||||
#
|
||||
# am335x-pru-package
|
||||
#
|
||||
################################################################################
|
||||
|
||||
AM335X_PRU_PACKAGE_VERSION = 5f374ad57cc195f28bf5e585c3d446aba6ee7096
|
||||
AM335X_PRU_PACKAGE_SITE = $(call github,beagleboard,am335x_pru_package,$(AM335X_PRU_PACKAGE_VERSION))
|
||||
AM335X_PRU_PACKAGE_LICENSE = BSD-3-Clause
|
||||
AM335X_PRU_PACKAGE_LICENSE_FILES = pru_sw/utils/LICENCE.txt
|
||||
AM335X_PRU_PACKAGE_DEPENDENCIES = host-am335x-pru-package
|
||||
AM335X_PRU_PACKAGE_INSTALL_STAGING = YES
|
||||
|
||||
# The default 'all' rule builds everything, when we just need the library
|
||||
ifeq ($(BR2_ENABLE_DEBUG),y)
|
||||
AM335X_PRU_PACKAGE_MAKE_TARGET = debug $(if $(BR2_STATIC_LIBS),,sodebug)
|
||||
else
|
||||
AM335X_PRU_PACKAGE_MAKE_TARGET = release $(if $(BR2_STATIC_LIBS),,sorelease)
|
||||
endif
|
||||
|
||||
define AM335X_PRU_PACKAGE_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||
-C $(@D)/pru_sw/app_loader/interface $(AM335X_PRU_PACKAGE_MAKE_TARGET)
|
||||
endef
|
||||
|
||||
# 'install' installs whatever was built, and our patch removes the dependency
|
||||
# on the release build, so we can use it to install whatever we built above.
|
||||
define AM335X_PRU_PACKAGE_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE1) DESTDIR="$(STAGING_DIR)" PREFIX="/usr" \
|
||||
-C $(@D)/pru_sw/app_loader/interface install
|
||||
endef
|
||||
|
||||
define AM335X_PRU_PACKAGE_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE1) DESTDIR="$(TARGET_DIR)" PREFIX="/usr" \
|
||||
-C $(@D)/pru_sw/app_loader/interface install
|
||||
endef
|
||||
|
||||
# The debug libraries are named differently than the release ones,
|
||||
# so we must provide a symlink to still be able to link with them.
|
||||
ifeq ($(BR2_ENABLE_DEBUG),y)
|
||||
|
||||
define AM335X_PRU_PACKAGE_LN_DEBUG_STAGING_STATIC
|
||||
ln -sf libprussdrvd.a $(STAGING_DIR)/usr/lib/libprussdrv.a
|
||||
endef
|
||||
AM335X_PRU_PACKAGE_POST_INSTALL_STAGING_HOOKS += AM335X_PRU_PACKAGE_LN_DEBUG_STAGING_STATIC
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
|
||||
define AM335X_PRU_PACKAGE_LN_DEBUG_STAGING_SHARED
|
||||
ln -sf libprussdrvd.so $(STAGING_DIR)/usr/lib/libprussdrv.so
|
||||
endef
|
||||
AM335X_PRU_PACKAGE_POST_INSTALL_STAGING_HOOKS += AM335X_PRU_PACKAGE_LN_DEBUG_STAGING_SHARED
|
||||
|
||||
define AM335X_PRU_PACKAGE_LN_DEBUG_TARGET
|
||||
ln -sf libprussdrvd.so $(TARGET_DIR)/usr/lib/libprussdrv.so
|
||||
endef
|
||||
AM335X_PRU_PACKAGE_POST_INSTALL_TARGET_HOOKS += AM335X_PRU_PACKAGE_LN_DEBUG_TARGET
|
||||
|
||||
endif # !STATIC
|
||||
|
||||
endif # DEBUG
|
||||
|
||||
define HOST_AM335X_PRU_PACKAGE_BUILD_CMDS
|
||||
cd $(@D)/pru_sw/utils/pasm_source; \
|
||||
$(HOSTCC) -Wall -D_UNIX_ pasm.c pasmpp.c pasmexp.c pasmop.c \
|
||||
pasmdot.c pasmstruct.c pasmmacro.c path_utils.c -o ../pasm
|
||||
endef
|
||||
|
||||
define HOST_AM335X_PRU_PACKAGE_INSTALL_CMDS
|
||||
$(INSTALL) -m 0755 -D $(@D)/pru_sw/utils/pasm $(HOST_DIR)/bin/pasm
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
30
buildroot-2024.02/package/am33x-cm3/0001-fix-makefile.patch
Normal file
30
buildroot-2024.02/package/am33x-cm3/0001-fix-makefile.patch
Normal file
@ -0,0 +1,30 @@
|
||||
Enforce correct -march option
|
||||
|
||||
Buildroot uses a normal ARM compiler to build the AM33X CM3 firmware
|
||||
(which runs on a Cortex-M3 processor), but Buildroot will have a
|
||||
default -march value that doesn't necessarily match the one needed for
|
||||
Cortex-M3, leading to build failures (gcc complains that the
|
||||
-mcpu=cortex-m3 option being passed is not compatible with the
|
||||
selected -march).
|
||||
|
||||
Fix this by explicitly indicating -march=armv7-m.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Updated the patch to the latest version of the Makefile
|
||||
|
||||
Signed-off-by: Anders Darander <anders@chargestorm.se>
|
||||
|
||||
Index: b/Makefile
|
||||
===================================================================
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -13,7 +13,7 @@ SRCDIR = src
|
||||
BINDIR = bin
|
||||
|
||||
INCLUDES = $(SRCDIR)/include
|
||||
-CFLAGS =-mcpu=cortex-m3 -mthumb -nostdlib -Wall -Wundef \
|
||||
+CFLAGS =-march=armv7-m -mcpu=cortex-m3 -mthumb -nostdlib -Wall -Wundef \
|
||||
-Werror-implicit-function-declaration -Wstrict-prototypes \
|
||||
-Wdeclaration-after-statement -fno-delete-null-pointer-checks \
|
||||
-Wempty-body -fno-strict-overflow -g -I$(INCLUDES) -O2
|
||||
@ -0,0 +1,35 @@
|
||||
From 6c3b05b74ccd49d8ba246bfef0c2e549b9f2bf7b Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Tue, 29 Oct 2019 16:14:18 +0100
|
||||
Subject: [PATCH] Makefile: unconditionally disable SSP
|
||||
|
||||
Though -nostdlib is passed in $(CFLAGS), -fno-stack-protector must also be
|
||||
passed to avoid linking errors related to undefined references to
|
||||
'__stack_chk_guard' and '__stack_chk_fail' if toolchain enforces
|
||||
-fstack-protector.
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.net/results/3a3a21f3c35ea025e9b93e09c2454aed0ad31034
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
Makefile | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index c3ec071..5226006 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -16,7 +16,8 @@ INCLUDES = $(SRCDIR)/include
|
||||
CFLAGS =-march=armv7-m -mcpu=cortex-m3 -mthumb -nostdlib -Wall -Wundef \
|
||||
-Werror-implicit-function-declaration -Wstrict-prototypes \
|
||||
-Wdeclaration-after-statement -fno-delete-null-pointer-checks \
|
||||
- -Wempty-body -fno-strict-overflow -g -I$(INCLUDES) -O2
|
||||
+ -Wempty-body -fno-strict-overflow -fno-stack-protector \
|
||||
+ -g -I$(INCLUDES) -O2
|
||||
LDFLAGS =-nostartfiles -fno-exceptions -Tfirmware.ld
|
||||
|
||||
EXECUTABLE=am335x-pm-firmware.elf
|
||||
--
|
||||
2.23.0
|
||||
|
||||
@ -0,0 +1,33 @@
|
||||
From 0e8c3c4851ce64268a8ae1810ef72594251d917d Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Sun, 10 Nov 2019 21:57:12 +0100
|
||||
Subject: [PATCH] Makefile: unconditionally disable PIE
|
||||
|
||||
Though -nostdlib is passed in $(CFLAGS), -fno-pie must also be passed to
|
||||
avoid linking errors related to overlapping sections if toolchain
|
||||
enforces PIE.
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/418a40b995e91bc66e692dfbc4b0521db3fa5fbb
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 5226006..fe3d844 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -17,7 +17,7 @@ CFLAGS =-march=armv7-m -mcpu=cortex-m3 -mthumb -nostdlib -Wall -Wundef \
|
||||
-Werror-implicit-function-declaration -Wstrict-prototypes \
|
||||
-Wdeclaration-after-statement -fno-delete-null-pointer-checks \
|
||||
-Wempty-body -fno-strict-overflow -fno-stack-protector \
|
||||
- -g -I$(INCLUDES) -O2
|
||||
+ -fno-pie -g -I$(INCLUDES) -O2
|
||||
LDFLAGS =-nostartfiles -fno-exceptions -Tfirmware.ld
|
||||
|
||||
EXECUTABLE=am335x-pm-firmware.elf
|
||||
--
|
||||
2.23.0
|
||||
|
||||
@ -0,0 +1,41 @@
|
||||
From 25fc567ba8a0cd199e48bfa82863247d953784ea Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Sun, 30 Aug 2020 20:59:29 +0200
|
||||
Subject: [PATCH] Makefile: add -fno-builtin
|
||||
|
||||
Build with gcc 10 fails on:
|
||||
|
||||
/srv/storage/autobuild/run/instance-2/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: src/foundation/startup.o: in function `reset_handler':
|
||||
/srv/storage/autobuild/run/instance-2/output-1/build/am33x-cm3-11107db2f1e9e58ee75d4fe9cc38423c9a6e4365/src/foundation/startup.c:177: undefined reference to `memcpy'
|
||||
|
||||
This is due to the fact that gcc 10 replaces the following statement by
|
||||
a memcpy call:
|
||||
|
||||
*puldest++ = *pulsrc++;
|
||||
|
||||
To fix this build failure, add -fno-builtin
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/a991e6efa012df518ff1bb35017ad2c96c8feedc
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index fe3d844..fa24d4b 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -17,7 +17,7 @@ CFLAGS =-march=armv7-m -mcpu=cortex-m3 -mthumb -nostdlib -Wall -Wundef \
|
||||
-Werror-implicit-function-declaration -Wstrict-prototypes \
|
||||
-Wdeclaration-after-statement -fno-delete-null-pointer-checks \
|
||||
-Wempty-body -fno-strict-overflow -fno-stack-protector \
|
||||
- -fno-pie -g -I$(INCLUDES) -O2
|
||||
+ -fno-pie -fno-builtin -g -I$(INCLUDES) -O2
|
||||
LDFLAGS =-nostartfiles -fno-exceptions -Tfirmware.ld
|
||||
|
||||
EXECUTABLE=am335x-pm-firmware.elf
|
||||
--
|
||||
2.28.0
|
||||
|
||||
8
buildroot-2024.02/package/am33x-cm3/Config.in
Normal file
8
buildroot-2024.02/package/am33x-cm3/Config.in
Normal file
@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_AM33X_CM3
|
||||
bool "am33x-cm3"
|
||||
depends on BR2_arm # only relevant for TI am335x
|
||||
depends on BR2_BINFMT_ELF # assumes the compiler builds ELF file
|
||||
help
|
||||
Cortex-M3 binary blob for suspend-resume on am335x
|
||||
|
||||
http://arago-project.org/git/projects/am33x-cm3.git
|
||||
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Load the PM CM3 firmware
|
||||
echo 1 > /sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/loading
|
||||
cat /lib/firmware/am335x-pm-firmware.bin > /sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/data
|
||||
echo 0 > /sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/loading
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user