prplos/include
Christian Marangi f3e41c46b5
target: introduce default location for external target linux generic
An external target provided by a custom feed might depend on a specific
kernel version and might need to apply generic patches for the specific
kernel version.

Now that the kernel version file is defined in the generic target
director, it's possible to handle this scenario for an external target
from feed.

To do this, we introduce additional logic for GENERIC_PLATFORM_DIR where
we check if the target feed have in his upper directory a linux/generic
path and use that instead of the default TOPLEVEL linux/generic path.

An example for an external target from feed would have the following
path structure:

mediatek/Makefile
linux/generic
linux/generic/config-6.6
...

An external target from feed is also defined by creating a symbolic link
in target/linux/${BOARD} to the feed directory with board as the name of
the external target.

This is to try to enforce a more consistent way to handle external
target in downstream project that makes use of OpenWrt build system.

Upstream-Status: Submitted [https://github.com/openwrt/openwrt/pull/18820]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-07-31 15:27:42 +00:00
..
site build: remove ac_cv_header_netinet_sctp_h=no from pre-cached variables 2024-09-22 16:04:09 +02:00
autotools.mk include: autotools: do not symlink files in autoreconf 2024-08-29 20:04:02 +02:00
bpf.mk build: bpf: fix LLVM tool paths with host toolchain 2025-04-09 18:30:49 +02:00
cmake.mk include: cmake.mk: honor CONFIG_DEBUG 2024-11-26 12:23:06 +00:00
debug.mk
default-packages.mk imagebuilder: move handling of DEFAULT_PACKAGES into shareable place 2025-01-03 11:14:12 +01:00
depends.mk
device_table.txt
download.mk
feeds.mk build: Unconditionally append kmod feed for BuildBot 2024-12-03 12:41:08 +01:00
hardened-ld-pie.specs
hardening.mk
host-build.mk build: add support for host building in a subdirectory 2024-07-27 20:32:20 +02:00
image-commands.mk ramips: move zyimage creation to include/image-commands.mk 2025-02-26 23:32:40 +01:00
image.mk build: add support for checksec.sh based mitigation reports 2025-07-31 15:20:37 +00:00
kernel-6.6 kernel: bump 6.6 to 6.6.100 2025-07-27 19:40:40 +02:00
kernel-build.mk kernel-build.mk: Fix multi-core build warning. 2024-10-06 13:49:39 +02:00
kernel-defaults.mk target: don't use GENERIC_PLATFORM_DIR for generic other-files 2025-07-31 15:27:41 +00:00
kernel-version.mk kernel: move kernel version files to linux/generic directory 2025-07-31 15:27:30 +00:00
kernel.mk
logo.png
logo.svg
meson.mk include: meson.mk: honor CONFIG_DEBUG 2024-11-26 12:23:06 +00:00
netfilter.mk iptables: update to 1.8.10 2024-10-22 00:52:03 +02:00
nls.mk
openssl-module.mk
optee-os.mk optee-os.mk: override default PATH to not use hostpkg python 2025-03-17 16:21:23 +01:00
package-bin.mk
package-defaults.mk build: add support for PKG_SUBDIRS variable 2024-07-08 08:49:42 +02:00
package-dumpinfo.mk
package-pack.mk build: add support for checksec.sh based mitigation reports 2025-07-31 15:20:37 +00:00
package-seccomp.mk
package.mk build: add support for PKG_SUBDIRS variable 2024-07-08 08:49:42 +02:00
prereq-build.mk prereq-build: limit python distutils check to <v3.12 2024-10-16 22:36:43 +02:00
prereq.mk
quilt.mk
rootfs.mk imagebuilder: complete support for local signing keys 2024-10-29 00:07:52 +01:00
scan.awk
scan.mk
shell.sh
subdir.mk
target.mk target: introduce default location for external target linux generic 2025-07-31 15:27:42 +00:00
toolchain-build.mk
toplevel.mk build: remove targetinfo invalidation based on .config 2025-01-03 11:16:17 +01:00
trusted-firmware-a.mk include/trusted-firmware-a.mk: support LTS releases 2025-06-16 15:35:49 +02:00
u-boot.mk u-boot.mk: pass CROSS_COMPILE during config 2024-09-02 12:42:05 +02:00
uclibc++.mk
unpack.mk
verbose.mk
version.mk version.mk: introduce prplOS Git based versioning 2025-07-31 15:18:08 +00:00