summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/arm-trusted-firmware/Makefile2
-rw-r--r--package/busybox/Makefile4
-rw-r--r--package/busybox/config/Config.in11
-rw-r--r--package/busybox/config/findutils/Config.in7
-rw-r--r--package/busybox/config/miscutils/Config.in5
-rw-r--r--package/busybox/config/networking/Config.in6
-rw-r--r--package/busybox/config/networking/udhcp/Config.in7
-rw-r--r--package/busybox/config/shell/Config.in5
-rw-r--r--package/busybox/patches/004-libbb-sha-add-missing-guard.patch17
-rw-r--r--package/gnutls/Makefile8
-rw-r--r--package/grub/Makefile19
-rw-r--r--package/grub/files/grub-efi-dual-serial.cfg (renamed from package/grub/files/grub-dual.cfg)8
-rw-r--r--package/grub/files/grub-efi-serial.cfg (renamed from package/grub/files/grub.cfg)0
-rw-r--r--package/grub/files/grub-pc-serial.cfg14
-rw-r--r--package/grub/files/grub-pc-vga.cfg2
-rw-r--r--package/libnettle/Makefile3
-rw-r--r--package/libtasn1/Makefile3
-rwxr-xr-xpackage/libunistring/Makefile3
-rw-r--r--package/u-boot/Makefile2
-rw-r--r--package/u-boot/patches/patch-tools_Makefile11
-rw-r--r--package/yaboot/Makefile2
21 files changed, 110 insertions, 29 deletions
diff --git a/package/arm-trusted-firmware/Makefile b/package/arm-trusted-firmware/Makefile
index 10bb72a25..17f59c444 100644
--- a/package/arm-trusted-firmware/Makefile
+++ b/package/arm-trusted-firmware/Makefile
@@ -11,6 +11,8 @@ PKG_DESCR:= ARM Trusted Firmware
PKG_SECTION:= base/boot
PKG_SITES:= https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git
+PKG_ARCH_DEPENDS:= arm
+
include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,ARM_TRUSTED_FIRMWARE,arm-trusted-firmware,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index 78b76ead5..c50e4af11 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -4,9 +4,9 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= busybox
-PKG_VERSION:= 1.36.1
+PKG_VERSION:= 1.37.0
PKG_RELEASE:= 1
-PKG_HASH:= b8cc24c9574d809e7279c3be349795c5d5ceb6fdf19ca709f80cde50e47de314
+PKG_HASH:= 3311dff32e746499f4df0d5df04d7eb396382d7e108bb9250e7b519b837043a4
PKG_DESCR:= core utilities for embedded systems
PKG_SECTION:= base/apps
PKG_URL:= http://www.busybox.net/
diff --git a/package/busybox/config/Config.in b/package/busybox/config/Config.in
index d5cbed6a5..573c55f8c 100644
--- a/package/busybox/config/Config.in
+++ b/package/busybox/config/Config.in
@@ -108,6 +108,17 @@ config BUSYBOX_LFS
programs that can benefit from large file support include dd, gzip,
cp, mount, tar.
+config BUSYBOX_TIME64
+ bool "Support 64bit wide time types"
+ default y
+ depends on BUSYBOX_LFS
+ help
+ Make times later than 2038 representable for several libc syscalls
+ (stat, clk_gettime etc.). Note this switch is specific to glibc
+ and has no effect on platforms that already use 64bit wide time types
+ (i.e. all 64bit archs and some selected 32bit archs (currently riscv
+ and x32)).
+
config BUSYBOX_PAM
bool "Support PAM (Pluggable Authentication Modules)"
default n
diff --git a/package/busybox/config/findutils/Config.in b/package/busybox/config/findutils/Config.in
index d4aa403a5..ff1f5ed0c 100644
--- a/package/busybox/config/findutils/Config.in
+++ b/package/busybox/config/findutils/Config.in
@@ -136,6 +136,13 @@ config BUSYBOX_FEATURE_FIND_EXEC_PLUS
Without this option, -exec + is a synonym for -exec ;
(IOW: it works correctly, but without expected speedup)
+config BUSYBOX_FEATURE_FIND_EXEC_OK
+ bool "Enable -ok: execute confirmed commands"
+ default y
+ depends on BUSYBOX_FEATURE_FIND_EXEC
+ help
+ Support the 'find -ok' option which prompts before executing.
+
config BUSYBOX_FEATURE_FIND_USER
bool "Enable -user: username/uid matching"
default y
diff --git a/package/busybox/config/miscutils/Config.in b/package/busybox/config/miscutils/Config.in
index 82aeff339..612d270e1 100644
--- a/package/busybox/config/miscutils/Config.in
+++ b/package/busybox/config/miscutils/Config.in
@@ -380,6 +380,11 @@ config BUSYBOX_FLASHCP
help
The flashcp binary, inspired by mtd-utils as of git head 5eceb74f7.
This utility is used to copy images into a MTD device.
+config BUSYBOX_GETFATTR
+ bool "getfattr (12.3 kb)"
+ default y
+ help
+ Get extended attributes on files
config BUSYBOX_HDPARM
bool "hdparm (25 kb)"
default y
diff --git a/package/busybox/config/networking/Config.in b/package/busybox/config/networking/Config.in
index 5e0ea5819..028fbdba6 100644
--- a/package/busybox/config/networking/Config.in
+++ b/package/busybox/config/networking/Config.in
@@ -582,6 +582,12 @@ config BUSYBOX_IPLINK
help
Short form of "ip link"
+config BUSYBOX_FEATURE_IP_LINK_CAN
+ bool "ip link set type can"
+ default y
+ help
+ Configure CAN devices with "ip".
+
config BUSYBOX_IPROUTE
bool "iproute (15 kb)"
default y
diff --git a/package/busybox/config/networking/udhcp/Config.in b/package/busybox/config/networking/udhcp/Config.in
index 111e6b5f5..9018780aa 100644
--- a/package/busybox/config/networking/udhcp/Config.in
+++ b/package/busybox/config/networking/udhcp/Config.in
@@ -11,6 +11,13 @@ config BUSYBOX_UDHCPD
udhcpd is a DHCP server geared primarily toward embedded systems,
while striving to be fully functional and RFC compliant.
+config BUSYBOX_FEATURE_UDHCPD_BOOTP
+ bool "Answer to BOOTP requests as well"
+ default y
+ depends on BUSYBOX_UDHCPD
+ help
+ Support old BOOTP protocol too.
+
config BUSYBOX_FEATURE_UDHCPD_BASE_IP_ON_MAC
bool "Select IP address based on client MAC"
default n
diff --git a/package/busybox/config/shell/Config.in b/package/busybox/config/shell/Config.in
index 6ffa3b2b0..b26195889 100644
--- a/package/busybox/config/shell/Config.in
+++ b/package/busybox/config/shell/Config.in
@@ -201,11 +201,6 @@ config BUSYBOX_ASH_TEST
default y
depends on BUSYBOX_SHELL_ASH
-config BUSYBOX_ASH_SLEEP
- bool "sleep builtin"
- default y
- depends on BUSYBOX_SHELL_ASH
-
config BUSYBOX_ASH_HELP
bool "help builtin"
default y
diff --git a/package/busybox/patches/004-libbb-sha-add-missing-guard.patch b/package/busybox/patches/004-libbb-sha-add-missing-guard.patch
new file mode 100644
index 000000000..ec41ba73a
--- /dev/null
+++ b/package/busybox/patches/004-libbb-sha-add-missing-guard.patch
@@ -0,0 +1,17 @@
+diff --git a/libbb/hash_md5_sha.c b/libbb/hash_md5_sha.c
+index 57a801459..75a61c32c 100644
+--- a/libbb/hash_md5_sha.c
++++ b/libbb/hash_md5_sha.c
+@@ -1313,7 +1313,9 @@ unsigned FAST_FUNC sha1_end(sha1_ctx_t *ctx, void *resbuf)
+ hash_size = 8;
+ if (ctx->process_block == sha1_process_block64
+ #if ENABLE_SHA1_HWACCEL
++# if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
+ || ctx->process_block == sha1_process_block64_shaNI
++# endif
+ #endif
+ ) {
+ hash_size = 5;
+--
+2.48.1
+
diff --git a/package/gnutls/Makefile b/package/gnutls/Makefile
index b93c9f15d..1c32b7979 100644
--- a/package/gnutls/Makefile
+++ b/package/gnutls/Makefile
@@ -12,6 +12,7 @@ PKG_SECTION:= libs/crypto
PKG_DEPENDS:= libgcrypt libtasn1 zlib libnettle libgmp libunistring
PKG_BUILDDEP:= libgcrypt liblzo libtasn1
PKG_BUILDDEP+= zlib ncurses libnettle libunistring
+HOST_BUILDDEP:= libnettle-host libtasn1-host libunistring-host
PKG_URL:= http://www.gnutls.org/
PKG_SITES:= https://www.gnupg.org/ftp/gcrypt/gnutls/v3.8/
PKG_LIBNAME:= libgnutls
@@ -27,8 +28,10 @@ PKG_FLAVOURS_LIBGNUTLS:=WITH_CRYPTODEV
PKGFD_WITH_CRYPTODEV:= enable support for cryptodev-linux
PKGFB_WITH_CRYPTODEV:= cryptodev-linux
+include ${ADK_TOPDIR}/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk
+$(eval $(call HOST_template,LIBGNUTLS,libgnutls,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBGNUTLS,libgnutls,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKGSC_LIBGNUTLS),$(PKG_OPTS)))
$(eval $(call PKG_template,GNUTLS_UTILS,gnutls-utils,$(PKG_VERSION)-$(PKG_RELEASE),$(PKGSS_GNUTLS_UTILS),$(PKGSD_GNUTLS_UTILS),$(PKGSC_GNUTLS_UTILS)))
@@ -37,6 +40,10 @@ CONFIGURE_ARGS+= --enable-cryptodev
endif
TARGET_LDFLAGS+= -pthread
+HOST_CONFIGURE_ARGS+= --without-p11-kit \
+ --disable-seccomp-tests \
+ --disable-tests \
+ --disable-doc
CONFIGURE_ARGS+= --disable-rpath \
--disable-doc \
--disable-tests \
@@ -54,4 +61,5 @@ gnutls-utils-install:
$(CP) $(WRKINST)/usr/bin/{{cert,psk}tool,gnutls-{cli,serv}} \
$(IDIR_GNUTLS_UTILS)/usr/bin
+include ${ADK_TOPDIR}/mk/host-bottom.mk
include $(ADK_TOPDIR)/mk/pkg-bottom.mk
diff --git a/package/grub/Makefile b/package/grub/Makefile
index d37472b8c..3d7f8d868 100644
--- a/package/grub/Makefile
+++ b/package/grub/Makefile
@@ -66,6 +66,11 @@ GRUB_PREFIX= (hd0,msdos1)/boot/grub
GRUB_TARGET= i386
GRUB_PLATFORM= pc
GRUB_MODULES= boot linux ext2 fat part_msdos part_gpt normal biosdisk
+ifeq ($(ADK_TARGET_QEMU_WITH_GRAPHIC),y)
+GRUB_CFG= grub-pc-vga.cfg
+else
+GRUB_CFG= grub-pc-serial.cfg
+endif
endif
ifeq ($(ADK_PACKAGE_GRUB_EFI_X86),y)
@@ -77,6 +82,11 @@ GRUB_PREFIX= /EFI/BOOT
GRUB_TARGET= i386
GRUB_PLATFORM= efi
GRUB_MODULES= boot linux ext2 fat part_msdos part_gpt normal efi_gop
+ifeq ($(ADK_TARGET_DUAL_BOOT),y)
+GRUB_CFG= grub-efi-serial-dual.cfg
+else
+GRUB_CFG= grub-efi-serial.cfg
+endif
endif
ifeq ($(ADK_PACKAGE_GRUB_EFI_X86_64),y)
@@ -88,15 +98,10 @@ GRUB_PREFIX= /EFI/BOOT
GRUB_TARGET= x86_64
GRUB_PLATFORM= efi
GRUB_MODULES= boot linux ext2 fat part_msdos part_gpt normal efi_gop
-endif
-
ifeq ($(ADK_TARGET_DUAL_BOOT),y)
-GRUB_CFG= grub-dual.cfg
-else
-ifeq ($(ADK_TARGET_QEMU_WITH_GRAPHIC),y)
-GRUB_CFG= grub-pc-vga.cfg
+GRUB_CFG= grub-efi-dual-serial.cfg
else
-GRUB_CFG= grub.cfg
+GRUB_CFG= grub-efi-serial.cfg
endif
endif
diff --git a/package/grub/files/grub-dual.cfg b/package/grub/files/grub-efi-dual-serial.cfg
index 46b5451ad..fde844e09 100644
--- a/package/grub/files/grub-dual.cfg
+++ b/package/grub/files/grub-efi-dual-serial.cfg
@@ -1,13 +1,17 @@
+serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
+terminal_input serial
+terminal_output serial
+
if [ "x\${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
- set timeout=0
+ set timeout=2
fi
else
if sleep --interruptible 2; then
- set timeout=0
+ set timeout=2
fi
fi
fi
diff --git a/package/grub/files/grub.cfg b/package/grub/files/grub-efi-serial.cfg
index 3fdc48eda..3fdc48eda 100644
--- a/package/grub/files/grub.cfg
+++ b/package/grub/files/grub-efi-serial.cfg
diff --git a/package/grub/files/grub-pc-serial.cfg b/package/grub/files/grub-pc-serial.cfg
new file mode 100644
index 000000000..d48b82c45
--- /dev/null
+++ b/package/grub/files/grub-pc-serial.cfg
@@ -0,0 +1,14 @@
+serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
+terminal_input serial
+terminal_output serial
+
+set default=0
+set timeout=3
+
+menuentry "OpenADK" {
+ insmod msdospart
+ insmod ext2
+ set root='hd0,1'
+ echo "Loading OpenADK"
+ linux /boot/kernel rootfstype=ext4 rootwait panic=10
+}
diff --git a/package/grub/files/grub-pc-vga.cfg b/package/grub/files/grub-pc-vga.cfg
index b0259ddb3..8200624d6 100644
--- a/package/grub/files/grub-pc-vga.cfg
+++ b/package/grub/files/grub-pc-vga.cfg
@@ -6,5 +6,5 @@ menuentry "OpenADK" {
insmod ext2
set root='hd0,1'
echo "Loading OpenADK"
- linux /boot/kernel root=/dev/sda1 rootfstype=ext4 rootwait panic=10
+ linux /boot/kernel console=tty0 rootfstype=ext4 rootwait panic=10
}
diff --git a/package/libnettle/Makefile b/package/libnettle/Makefile
index c9d3f38e1..9eb763d9e 100644
--- a/package/libnettle/Makefile
+++ b/package/libnettle/Makefile
@@ -18,8 +18,10 @@ PKG_OPTS:= dev
DISTFILES:= nettle-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/nettle-${PKG_VERSION}
+include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk
+$(eval $(call HOST_template,LIBNETTLE,libnettle,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBNETTLE,libnettle,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
CONFIGURE_ARGS+= --disable-documentation
@@ -31,4 +33,5 @@ libnettle-install:
$(CP) $(WRKINST)/usr/lib/libhogweed.so* \
$(IDIR_LIBNETTLE)/usr/lib
+include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libtasn1/Makefile b/package/libtasn1/Makefile
index e91f75001..7cf62dc53 100644
--- a/package/libtasn1/Makefile
+++ b/package/libtasn1/Makefile
@@ -15,8 +15,10 @@ PKG_OPTS:= dev
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
+include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk
+$(eval $(call HOST_template,LIBTASN1,libtasn1,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBTASN1,libtasn1,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
CONFIGURE_ARGS+= --disable-gtk-doc-html \
@@ -26,4 +28,5 @@ libtasn1-install:
$(INSTALL_DIR) $(IDIR_LIBTASN1)/usr/lib
$(CP) $(WRKINST)/usr/lib/libtasn1.so* $(IDIR_LIBTASN1)/usr/lib
+include ${ADK_TOPDIR}/mk/host-bottom.mk
include $(ADK_TOPDIR)/mk/pkg-bottom.mk
diff --git a/package/libunistring/Makefile b/package/libunistring/Makefile
index 46b83438a..a6ea2f4b2 100755
--- a/package/libunistring/Makefile
+++ b/package/libunistring/Makefile
@@ -13,12 +13,15 @@ PKG_URL:= http://www.gnu.org/software/libunistring/
PKG_SITES:= ${MASTER_SITE_GNU:=libunistring/}
PKG_OPTS:= dev
+include $(ADK_TOPDIR)/mk/host.mk
include ${ADK_TOPDIR}/mk/package.mk
+$(eval $(call HOST_template,LIBUNISTRING,libunistring,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBUNISTRING,libunistring,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
libunistring-install:
${INSTALL_DIR} ${IDIR_LIBUNISTRING}/usr/lib
${CP} ${WRKINST}/usr/lib/libunistring.so* ${IDIR_LIBUNISTRING}/usr/lib
+include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/u-boot/Makefile b/package/u-boot/Makefile
index ba64d7356..bf97764b2 100644
--- a/package/u-boot/Makefile
+++ b/package/u-boot/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_HASH:= f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f
PKG_DESCR:= portable bootloader
PKG_SECTION:= base/boot
-HOST_BUILDDEP:= openssl-host dtc-host swig-host python3-host python-setuptools-host
+HOST_BUILDDEP:= gnutls-host openssl-host dtc-host swig-host python3-host python-setuptools-host
PKG_BUILDDEP:= python3-host python-setuptools-host swig-host u-boot-host
PKG_URL:= http://www.denx.de/wiki/U-Boot
PKG_SITES:= ftp://ftp.denx.de/pub/u-boot/
diff --git a/package/u-boot/patches/patch-tools_Makefile b/package/u-boot/patches/patch-tools_Makefile
deleted file mode 100644
index fc284ad58..000000000
--- a/package/u-boot/patches/patch-tools_Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- u-boot-2024.01.orig/tools/Makefile 2024-01-08 16:37:48.000000000 +0100
-+++ u-boot-2024.01/tools/Makefile 2024-01-17 17:56:21.004096375 +0100
-@@ -250,7 +250,7 @@ HOSTLDLIBS_mkeficapsule += \
- $(shell pkg-config --libs gnutls 2> /dev/null || echo "-lgnutls")
- HOSTLDLIBS_mkeficapsule += \
- $(shell pkg-config --libs uuid 2> /dev/null || echo "-luuid")
--hostprogs-$(CONFIG_TOOLS_MKEFICAPSULE) += mkeficapsule
-+#hostprogs-$(CONFIG_TOOLS_MKEFICAPSULE) += mkeficapsule
-
- mkfwumdata-objs := mkfwumdata.o generated/lib/crc32.o
- HOSTLDLIBS_mkfwumdata += -luuid
diff --git a/package/yaboot/Makefile b/package/yaboot/Makefile
index 48ddcdba8..573440bc0 100644
--- a/package/yaboot/Makefile
+++ b/package/yaboot/Makefile
@@ -13,6 +13,8 @@ PKG_BUILDDEP:= e2fsprogs
PKG_URL:= http://yaboot.ozlabs.org/
PKG_SITES:= http://yaboot.ozlabs.org/releases/
+PKG_ARCH_DEPENDS:= ppc
+
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
include $(ADK_TOPDIR)/mk/package.mk