History

h8300: suppress error messages for 'make clean'

'make ARCH=h8300 clean' emits error messages as follows: $ make ARCH=h8300 clean gcc: error: missing argument to '-Wframe-larger-than=' gcc: error: unrecognized command line option '-mint32' You can suppress the second one by setting the correct CROSS_COMPILE=, but we should not require any compiler for cleaning.

Masahiro Yamada committed 6 years ago

Commit dc960bf1 parent 6632fa81 file · +1 −1Browse files

Unified · Split

arch/h8300/boot/compressed/Makefile+1−1
@@ -18,7 +18,7 @@ CONFIG_MEMORY_START ?= 0x00400000 · 17 unmodified lines
18CONFIG_BOOT_LINK_OFFSET ?= 0x0028000018CONFIG_BOOT_LINK_OFFSET ?= 0x00280000
19IMAGE_OFFSET := $(shell printf "0x%08x" $$(($(CONFIG_MEMORY_START)+$(CONFIG_BOOT_LINK_OFFSET))))19IMAGE_OFFSET := $(shell printf "0x%08x" $$(($(CONFIG_MEMORY_START)+$(CONFIG_BOOT_LINK_OFFSET))))
20 20
21LIBGCC := $(shell $(CROSS-COMPILE)$(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)21LIBGCC := $(shell $(CROSS-COMPILE)$(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name 2>/dev/null)
22LDFLAGS_vmlinux := -Ttext $(IMAGE_OFFSET) -estartup -T $(obj)/vmlinux.lds \22LDFLAGS_vmlinux := -Ttext $(IMAGE_OFFSET) -estartup -T $(obj)/vmlinux.lds \
23 --defsym output=$(CONFIG_MEMORY_START)23 --defsym output=$(CONFIG_MEMORY_START)
24 24