mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
HACK: lib: Compile out nmi_backtrace for ARM64
This silences the following compilation warning, presumably emitted by llvm-ar in conjunction with Clang (Thin)LTO: lib/nmi_backtrace.o: no symbols This is a watchdog support library which is no-op on this architecture, hence the empty object file, so let's avoid building it entirely until a more aesthetically pleasing solution presents itself. Signed-off-by: Adam W. Willis <return.of.octobot@gmail.com> Co-authored-by: Panchajanya1999 <panchajanya@azure-dev.live> Signed-off-by: Forenche <prahul2003@gmail.com>
This commit is contained in:
parent
da3856f7f5
commit
cea045cfcb
@ -35,9 +35,11 @@ lib-y := ctype.o string.o vsprintf.o cmdline.o \
|
||||
flex_proportions.o ratelimit.o show_mem.o \
|
||||
is_single_threaded.o plist.o decompress.o kobject_uevent.o \
|
||||
earlycpio.o seq_buf.o siphash.o \
|
||||
nmi_backtrace.o nodemask.o win_minmax.o
|
||||
nodemask.o win_minmax.o
|
||||
|
||||
CFLAGS_kobject_uevent.o += -Wframe-larger-than=3072
|
||||
|
||||
lib-$(!CONFIG_ARM64) += nmi_backtrace.o
|
||||
lib-$(CONFIG_MMU) += ioremap.o
|
||||
lib-$(CONFIG_SMP) += cpumask.o
|
||||
lib-$(CONFIG_DMA_NOOP_OPS) += dma-noop.o
|
||||
|
Loading…
x
Reference in New Issue
Block a user