summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-04gdb: Fix libgmp dependency checksPhil Sutter
Added checks for libgmp in configure scripts are not really portable, at least 'gdb' subdir configure used host's libgmp and consequently failed. At least there's 'host_configargs' to define additional arguments; use it to point sub-configure to the right location. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-11-04scripts: Review patch_git.sh and update-patches-gitPhil Sutter
Fix git-backed package patching and patch updating scripts: * patch_git.sh was entirely broken (since forever?!) due to a missing 'cd' call * update-patches-git formatted the marker commit as patch instead of ignoring it The major improvement of this review is the elimination of the mandatory final marker commit. Putting it before the series being applied works well and allows to add a patch to the series without demanding a git-rebase call to get the marker back on top. While being at it: * Call 'git am --abort' only if there was a git repo already * Call git-commit and git-format-patch with extra options to avoid side-effects from a user's .gitconfig * Explicitly specify output format in git-log to avoid surprises, also split output properly with 'read' * Eliminate fake_hdr variable Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-11-04zile: update to 2.6.2Waldemar Brodkorb
2021-11-04nano: update to 5.9Waldemar Brodkorb
2021-11-04libgc: update to 8.2.0Waldemar Brodkorb
2021-11-04vim: update to 8.2Waldemar Brodkorb
2021-11-04openkdap: update to 2.6.0Waldemar Brodkorb
2021-11-04mariadb: use distfiles.openadk.orgWaldemar Brodkorb
2021-11-02libdrm: update to 2.4.107, convert to mesonWaldemar Brodkorb
2021-11-02freeglut: update to 3.2.1, add buildroot patch to compile with gcc 10.xWaldemar Brodkorb
2021-11-02systemd depends on glibcWaldemar Brodkorb
2021-11-02cmake: fix hashWaldemar Brodkorb
2021-11-01toolchain: linux-headers: Fix kernel version for ADK_UPDATE_PATCHES_GITPhil Sutter
When using git to apply kernel patches, the extracted kernel sources become a git repository with HEAD not being at a tag. Therefore $(LINUX_DIR)/scripts/setlocalversion appends '+' to the kernel version string which ADK in turn does not expect. In consequence, 'modprobe' on target won't find any modules. Avoid this by creating an empty '$(LINUX_DIR)/.scmversion' file - setlocalversion recognizes it and uses its content instead of doing its own detection. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-11-01Makefile: Declare accepted targets as PHONYPhil Sutter
Without this, a call to 'make package=foo package' won't have the desired effect since the directory named 'package' fulfills the requirement. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-11-01target: linux: config: Add kernel crypto user api symbolsPhil Sutter
These are used by cryptsetup. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-11-01target: config: Support DM_RAIDPhil Sutter
This is an alternative to using MD_RAID, basically RAID managed via lvm2 instead of mdadm. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-11-01target: linux: config: Export CONFIG_EFI_PARTITIONPhil Sutter
Hard to run a NAS without it nowadays. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-11-01target: linux: config: Export CONFIG_OVERLAY_FSPhil Sutter
Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-11-01mk: Introduce KERNEL_MAKE variablePhil Sutter
This combines the typical kernel make call idiom into a single variable reference. A side-effect is that parallel make is enabled (via added '-j' flag) in many cases, but that shouldn't cause harm. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-11-01mk: Generalize kernel loadaddrPhil Sutter
Introduce ADK_TARGET_KERNEL_LOADADDR symbol holding the right kernel loadaddr depending on chosen target system instead of hard-coding the value into kernel-vars.mk. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-11-01image.mk: Use SCRIPT_DIR variablePhil Sutter
It exists, so use it instead of manually stating $(TOPDIR)/scripts. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-11-01fix allmodconfigWaldemar Brodkorb
2021-10-30sudo: update to 1.9.8p2Waldemar Brodkorb
2021-10-30strace: update to 5.14Waldemar Brodkorb
2021-10-30php: update to 7.4.25Waldemar Brodkorb
2021-10-30nginx: update to 1.21.3Waldemar Brodkorb
2021-10-30bind: update to 9.16.22Waldemar Brodkorb
2021-10-30target: linux: patches: Drop initramfs startup hackPhil Sutter
No need to change the initramfs 'init' binary location in kernels anymore, image.mk adds a symlink from /init to /sbin/init to cover for that. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-10-30mk/image.mk: Ship /init in initramfsPhil Sutter
OpenADK's kernel hack to call /sbin/init in initramfs is ugly. Instead, ship /init as a symlink to /sbin/init. This is safe, since initramfs is always a filesystem with symlink support. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-10-30gnutls: Fix build with uclibc-ngPhil Sutter
Recent gnutls update introduced "gnulib module fopen" (gl/fopen.c) which tries to get fopen() declaration from stdio.h by defining __need_FILE before including the header. While this seems unnecessary for the purpose (alegedly __need_FILE is used by headers including stdio.h to get the FILE declaration while avoiding namespace pollution), uClibc-ng's stdio.h behaves unexpected if __need_FILE is defined: 1) features.h is not included, therefore __BEGIN_NAMESPACE_STD (and likely more) is not known later on 2) it declares *only* FILE, nothing else To avoid these problems, don't define __need_FILE in gnutls and pray this works with other libc's as well. Actually one should fix uClibc-ng instead. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-10-30libgpg-error: Fix compiling with uclibcPhil Sutter
Starting with version 1.33, libgpg-error dropped the first two parts of a four part "triplet" while canonicalizing CPU-VENDOR-KERNEL-SYSTEM. Therefore the resulting header name for arm-openadk-linux-uclibceabi becomes lock-obj-pub.linux-uclibceabi.h - make sure it exists by creating an appropriate symlink. Leave the old symlink name in place to avoid breaking any other triplet values. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-10-30gdb: Fix libexpat search pathPhil Sutter
Configure searches libexpat in host's rootfs and consequently fails. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-10-30libcap: Fix buildPhil Sutter
Have to pass HOST_CC variable so _makenames helper is correctly compiled for host arch. Also PAM detection checks host's headers, override this based on package choice. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-10-30xfsprogs: Fix buildPhil Sutter
Have to link against libuuid. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-10-30readline: Pass -ltinfoPhil Sutter
Otherwise the library builds, but programs trying to use it have to link against libtinfo themselves (which they don't expect). Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-10-28raspberry-pi: use 5.4.x kernelWaldemar Brodkorb
2021-10-28gdb: update to 11.1Waldemar Brodkorb
2021-10-28gdbserver: fix static linkingWaldemar Brodkorb
2021-10-28use Linux 5.4 for qemu arm noMMUWaldemar Brodkorb
2021-10-28uClibc-ng-test: use httpsWaldemar Brodkorb
2021-10-24u-boot: update to 2021.10Waldemar Brodkorb
2021-10-22bfin: unbreak build, elf2flt patch isn't bfin safeWaldemar Brodkorb
2021-10-22linux: update to latest versionsWaldemar Brodkorb
2021-10-22openssh: update to 8.8p1Waldemar Brodkorb
2021-10-22libressl: update to 3.4.1Waldemar Brodkorb
2021-10-22systemd: update to 249Waldemar Brodkorb
2021-10-22libcap: update to latestWaldemar Brodkorb
2021-10-22xfsprogs: update to 5.13.0Waldemar Brodkorb
2021-10-22mdadm: update to 4.1Waldemar Brodkorb
2021-10-22mksh: update to 59cWaldemar Brodkorb