aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2019-08-01 07:47:03 -0400
committerHelge Deller <deller@gmx.de>2019-08-01 08:20:55 -0400
commitf2c5ed0dd5004c2cff5c0e3d430a107576fcc17f (patch)
tree1f8f3f2b4e7f0e8ec464c366c197d1ac39dd20ec /arch/parisc
parente50beea8e7738377b4fa664078547be338038ff9 (diff)
parisc: Add archclean Makefile target
Apparently we don't have an archclean target in our arch/parisc/Makefile, so files in there never get cleaned out by make mrproper. This, in turn means that the sizes.h file in arch/parisc/boot/compressed never gets removed and worse, when you transition to an O=build/parisc[64] build model it overrides the generated file. The upshot being my bzImage was building with a SZ_end that was too small. I fixed it by making mrproper clean everything. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Cc: stable@vger.kernel.org # v4.20+ Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/Makefile3
-rw-r--r--arch/parisc/boot/compressed/Makefile1
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile
index b10a1179291a..3b77d729057f 100644
--- a/arch/parisc/Makefile
+++ b/arch/parisc/Makefile
@@ -180,5 +180,8 @@ define archhelp
180 @echo ' zinstall - Install compressed vmlinuz kernel' 180 @echo ' zinstall - Install compressed vmlinuz kernel'
181endef 181endef
182 182
183archclean:
184 $(Q)$(MAKE) $(clean)=$(boot)
185
183archheaders: 186archheaders:
184 $(Q)$(MAKE) $(build)=arch/parisc/kernel/syscalls all 187 $(Q)$(MAKE) $(build)=arch/parisc/kernel/syscalls all
diff --git a/arch/parisc/boot/compressed/Makefile b/arch/parisc/boot/compressed/Makefile
index 3b28d1b92218..1e5879c6a752 100644
--- a/arch/parisc/boot/compressed/Makefile
+++ b/arch/parisc/boot/compressed/Makefile
@@ -12,6 +12,7 @@ UBSAN_SANITIZE := n
12targets := vmlinux.lds vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 12targets := vmlinux.lds vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2
13targets += vmlinux.bin.xz vmlinux.bin.lzma vmlinux.bin.lzo vmlinux.bin.lz4 13targets += vmlinux.bin.xz vmlinux.bin.lzma vmlinux.bin.lzo vmlinux.bin.lz4
14targets += misc.o piggy.o sizes.h head.o real2.o firmware.o 14targets += misc.o piggy.o sizes.h head.o real2.o firmware.o
15targets += real2.S firmware.c
15 16
16KBUILD_CFLAGS := -D__KERNEL__ -O2 -DBOOTLOADER 17KBUILD_CFLAGS := -D__KERNEL__ -O2 -DBOOTLOADER
17KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING 18KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING