* removed musl and openssl from btrfs-progs.cache
[t2sde.git] / package / kernel / linux / hotfix-hppa.patch
blobb5dbd261d22a7625627ee55da054737661f77ad7
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/linux/hotfix-hppa.patch
3 # Copyright (C) 2022 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 We don't need another compiler for hppa(32).
16 --- linux-6.0/arch/parisc/Makefile.vanilla 2022-10-13 22:28:14.311362648 +0200
17 +++ linux-6.0/arch/parisc/Makefile 2022-10-13 22:29:49.436370248 +0200
18 @@ -40,12 +40,16 @@
19 export LD_BFD
21 # Set default 32 bits cross compilers for vdso
22 +ifeq ($(ARCH),parisc64)
23 CC_ARCHES_32 = hppa hppa2.0 hppa1.1
24 CC_SUFFIXES = linux linux-gnu unknown-linux-gnu suse-linux
25 CROSS32_COMPILE := $(call cc-cross-prefix, \
26 $(foreach a,$(CC_ARCHES_32), \
27 $(foreach s,$(CC_SUFFIXES),$(a)-$(s)-)))
28 CROSS32CC := $(CROSS32_COMPILE)gcc
29 +else
30 +CROSS32CC := $(CC)
31 +endif
32 export CROSS32CC
34 # Set default cross compiler for kernel build