* removed musl and openssl from btrfs-progs.cache
[t2sde.git] / package / kernel / linux / top-level-kmod.patch
blob75782b356383e4eab2d708f34b2a92423cdb5aa9
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/linux/top-level-kmod.patch
3 # Copyright (C) 2023 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 Having all all in-kernel modules in one top-level kernel/ directory
15 is a bit superflous. Let's just install all sub-systems into the
16 top-level directory to shorten all the pathes for readability.
18 --- linux-6.1/scripts/Makefile.modinst.vanilla 2023-02-06 00:25:41.525322193 +0100
19 +++ linux-6.1/scripts/Makefile.modinst 2023-02-06 00:25:44.378321927 +0100
20 @@ -12,7 +12,7 @@
21 modules := $(sort $(shell cat $(MODORDER)))
23 ifeq ($(KBUILD_EXTMOD),)
24 -dst := $(MODLIB)/kernel
25 +dst := $(MODLIB)
26 else
27 INSTALL_MOD_DIR ?= extra
28 dst := $(MODLIB)/$(INSTALL_MOD_DIR)