summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2021-10-22gnutls: update to 3.16.16 and depsWaldemar Brodkorb
2021-10-22keychain: update to 2.8.5Waldemar Brodkorb
2021-10-22gnupg2: update and all depsWaldemar Brodkorb
2021-10-17elf2ft: fix binutis versionWaldemar Brodkorb
2021-10-11php: update to 7.4.24Waldemar Brodkorb
2021-10-11mariadb: update to 10.6.4Waldemar Brodkorb
2021-10-11boost: update to 1.77.0Waldemar Brodkorb
2021-10-11cmake: update to 3.21.3Waldemar Brodkorb
2021-10-11python3: update to 3.9.7Waldemar Brodkorb
2021-10-11gdbm: update to 1.21Waldemar Brodkorb
2021-10-11ruby: update to 3.0.2Waldemar Brodkorb