# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/linux/hotfix-hppa.patch # Copyright (C) 2022 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License version 2 as used by the T2 SDE. # --- T2-COPYRIGHT-NOTE-END --- We don't need another compiler for hppa(32). --- linux-6.0/arch/parisc/Makefile.vanilla 2022-10-13 22:28:14.311362648 +0200 +++ linux-6.0/arch/parisc/Makefile 2022-10-13 22:29:49.436370248 +0200 @@ -40,12 +40,16 @@ export LD_BFD # Set default 32 bits cross compilers for vdso +ifeq ($(ARCH),parisc64) CC_ARCHES_32 = hppa hppa2.0 hppa1.1 CC_SUFFIXES = linux linux-gnu unknown-linux-gnu suse-linux CROSS32_COMPILE := $(call cc-cross-prefix, \ $(foreach a,$(CC_ARCHES_32), \ $(foreach s,$(CC_SUFFIXES),$(a)-$(s)-))) CROSS32CC := $(CROSS32_COMPILE)gcc +else +CROSS32CC := $(CC) +endif export CROSS32CC # Set default cross compiler for kernel build