1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/linux/hotfix-hppa.patch
3 # Copyright (C) 2022 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
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
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
34 # Set default cross compiler for kernel build