Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
25 lines
477 B
Makefile
25 lines
477 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile
|
|
#
|
|
|
|
ifdef CONFIG_FUNCTION_TRACER
|
|
CFLAGS_REMOVE_ashldi3.o = -pg
|
|
CFLAGS_REMOVE_ashrdi3.o = -pg
|
|
CFLAGS_REMOVE_lshrdi3.o = -pg
|
|
endif
|
|
|
|
lib-y := memset.o
|
|
|
|
ifeq ($(CONFIG_OPT_LIB_ASM),y)
|
|
lib-y += fastcopy.o
|
|
else
|
|
lib-y += memcpy.o memmove.o
|
|
endif
|
|
|
|
lib-y += uaccess_old.o
|
|
|
|
# libgcc-style stuff needed in the kernel
|
|
obj-y += ashldi3.o ashrdi3.o cmpdi2.o divsi3.o lshrdi3.o modsi3.o
|
|
obj-y += muldi3.o mulsi3.o ucmpdi2.o udivsi3.o umodsi3.o
|