* origin/auto-kernel:
Revert "iommu: arm-smmu: Make restore of smmu-context runtime detectable"
Revert "iommu: arm-smmu: Use same callback for thaw and restore"
Revert "soc: qcom: Implement hibernation callbacks for jtag-etm"
Revert "firmware: qcom: Register call back functions for hibernation"
Revert "soc: qcom: smp2p: Implementing thaw callback"
Revert "soc: qcom: smem: Implementing thaw callback"
Revert "i2c: i2c-qcom-geni: Implementing thaw callback"
Revert "iio: adc: Implementing thaw callback"
Revert "input: qpnp-power-on: Implementing thaw callback"
Revert "thermal: qcom-spmi-temp-alarm: Add support for thaw callback"
Revert "rtc: qpnp-rtc: Add support for thaw callback"
Revert "mmc: sdhci-msm: Add hibernation callbacks"
Revert "clk: qcom: Add support for enabling the critical clocks"
Revert "serial: msm-geni-serial: Add support for thaw callback"
bpf: Avoid gcc-10 stringop-overflow warning in struct bpf_prog
build-gcc: use GCC LTO
vmlinux: Don't use LDFINAL for clang
arm64: Add clang checks for emulations
lto: Add Link Time Optimization support for GCC
arm64: Make __stack_chk_guard visible
sys_ni: Fix cond_syscall() alias for LTO
sys_ni: Remove duplicate cond_syscall(sys_madvise) entry
arm64: Fix section mismatch with LTO caused by ambiguous const
lto: Add __noreorder and mark initcalls __noreorder
ACPICA: Fix failed target detection with bare-metal compiler
FIXUP: 76deb8e5d7: sde: fix a mismerge
ARM64: configs: raphael: Configure optimal minimum CPU frequencies for sm8150
cpufreq: Allow configuring default minimum frequencies in Kconfig
cpufreq: Kill userspace CPU boosting entirely
iMMENSITY: add gcc build script
README: sync with kernel
ARM64: configs: raphael: disable msm performance driver
ANDROID: raphael_defconfig: Disable CONFIG_RT_GROUP_SCHED
ARM64: configs: raphael: remove unused governors and CONFIG_CPU_BOOST
Makefile: Optimize CPU setup with GCC
Kbuild: allowing forcing ccache with shell script
sm8150: fix gcc-10.1.0 warnings
kbuild: Increase automatic inline instruction limit to 1000 for gcc-10
Revert "ipa3:msm: Added debugfs support for drop packet stats"
Revert "Revert "sched: turn off the TTWU_QUEUE feature""
Revert "sched/core: Ensure cpu number is valid"
sched/energy: Check out to Android 4.14 common kernel
ARM: dts: sm8150: Correct off-by-one error for big CPU capacity
ARM: dts: sm8150: Correct off-by-one error for little CPU capacity
ARM: dts: sm8150: Add measured OPP capacities to the EAS energy model
ARM: dts: msm: Bring all board specific changes to common file for QCS610
msm: camera: Allow applying request if congestion comes
ARM: dts: msm: Add initial dts support for QCM6125
soc: qcom: socinfo: Add support for QCM6125/QCS6125 soc-id
ARM: dts: qcom: Add support for POMS on sim-video-panel
arm64: dts: msm: Add dt entry for manual fw loading
ARM: dts: msm: remove default SA6155 DP pinctrl
ARM: dts: msm: Enable USB type-C analog audio on SDM660
net-ipv6-ndisc: add support for 'PREF64' dns64 prefix identifier
fbdev: msm: call pxl clk unprepare during suspend
msm: vidc: Fix in deciding power mode
ARM: dts: msm: Include camera sensor DTSi file for QCS410
USB: gadget: Add a print for Boot marker KPI
msm: camera: isp: Add trace event in case of irq delay detected
msm: camera: csiphy: Clear secure phy flags on release
msm: ais: fix csid fatal error issue
ANDROID: net: bpf: permit redirect from ingress L3 to egress L2 devices at near max mtu
ARM: dts: msm: Enable sdx_ext_ipc and set policy to NOP in sa515m
drivers: soc: sdx_ext_ipc: Add option to change default policy
msm: adsprpc: Fix array index underflow problem
power: smb1398: Fix array index out of bounds error
msm: ipa: update MHI event id logic
usb: dwc3: gadget: Avoid spuriously printing NO_PULLUP in log
Add S2R and S2D support in KMD
drm/bridge: add anx7625 to drm device pm link
ARM: dts: msm: add hgsl to sa8195 vm for GPU doorbell
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
136 lines
4.4 KiB
Makefile
136 lines
4.4 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
obj-y = fork.o exec_domain.o panic.o \
|
|
cpu.o exit.o softirq.o resource.o \
|
|
sysctl.o sysctl_binary.o capability.o ptrace.o user.o \
|
|
signal.o sys.o umh.o workqueue.o pid.o task_work.o \
|
|
extable.o params.o \
|
|
kthread.o sys_ni.o nsproxy.o \
|
|
notifier.o ksysfs.o cred.o reboot.o \
|
|
async.o range.o smpboot.o ucount.o
|
|
|
|
obj-$(CONFIG_MODULES) += kmod.o
|
|
obj-$(CONFIG_MULTIUSER) += groups.o
|
|
|
|
ifdef CONFIG_FUNCTION_TRACER
|
|
# Do not trace internal ftrace files
|
|
CFLAGS_REMOVE_irq_work.o = $(CC_FLAGS_FTRACE)
|
|
endif
|
|
|
|
# Prevents flicker of uninteresting __do_softirq()/__local_bh_disable_ip()
|
|
# in coverage traces.
|
|
KCOV_INSTRUMENT_softirq.o := n
|
|
# These are called from save_stack_trace() on slub debug path,
|
|
# and produce insane amounts of uninteresting coverage.
|
|
KCOV_INSTRUMENT_module.o := n
|
|
KCOV_INSTRUMENT_extable.o := n
|
|
# Don't self-instrument.
|
|
KCOV_INSTRUMENT_kcov.o := n
|
|
KASAN_SANITIZE_kcov.o := n
|
|
CFLAGS_kcov.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector)
|
|
|
|
# Don't instrument error handlers
|
|
CFLAGS_cfi.o = $(DISABLE_CFI_CLANG)
|
|
|
|
obj-y += sched/
|
|
obj-y += locking/
|
|
obj-y += power/
|
|
obj-y += printk/
|
|
obj-y += irq/
|
|
obj-y += rcu/
|
|
obj-y += livepatch/
|
|
|
|
obj-$(CONFIG_CHECKPOINT_RESTORE) += kcmp.o
|
|
obj-$(CONFIG_FREEZER) += freezer.o
|
|
obj-$(CONFIG_PROFILING) += profile.o
|
|
obj-$(CONFIG_STACKTRACE) += stacktrace.o
|
|
obj-y += time/
|
|
obj-$(CONFIG_FUTEX) += futex.o
|
|
obj-$(CONFIG_GENERIC_ISA_DMA) += dma.o
|
|
obj-$(CONFIG_SMP) += smp.o
|
|
ifneq ($(CONFIG_SMP),y)
|
|
obj-y += up.o
|
|
endif
|
|
obj-$(CONFIG_UID16) += uid16.o
|
|
obj-$(CONFIG_MODULES) += module.o
|
|
obj-$(CONFIG_MODULE_SIG) += module_signing.o
|
|
obj-$(CONFIG_KALLSYMS) += kallsyms.o
|
|
obj-$(CONFIG_BSD_PROCESS_ACCT) += acct.o
|
|
obj-$(CONFIG_CRASH_CORE) += crash_core.o
|
|
obj-$(CONFIG_KEXEC_CORE) += kexec_core.o
|
|
obj-$(CONFIG_KEXEC) += kexec.o
|
|
obj-$(CONFIG_KEXEC_FILE) += kexec_file.o
|
|
obj-$(CONFIG_BACKTRACE_SELF_TEST) += backtracetest.o
|
|
obj-$(CONFIG_COMPAT) += compat.o
|
|
obj-$(CONFIG_CGROUPS) += cgroup/
|
|
obj-$(CONFIG_UTS_NS) += utsname.o
|
|
obj-$(CONFIG_USER_NS) += user_namespace.o
|
|
obj-$(CONFIG_PID_NS) += pid_namespace.o
|
|
obj-$(CONFIG_IKCONFIG) += configs.o
|
|
obj-$(CONFIG_IKHEADERS) += kheaders.o
|
|
obj-$(CONFIG_SMP) += stop_machine.o
|
|
obj-$(CONFIG_KPROBES_SANITY_TEST) += test_kprobes.o
|
|
obj-$(CONFIG_AUDIT) += audit.o auditfilter.o
|
|
obj-$(CONFIG_AUDITSYSCALL) += auditsc.o
|
|
obj-$(CONFIG_AUDIT_WATCH) += audit_watch.o audit_fsnotify.o
|
|
obj-$(CONFIG_AUDIT_TREE) += audit_tree.o
|
|
obj-$(CONFIG_GCOV_KERNEL) += gcov/
|
|
obj-$(CONFIG_KCOV) += kcov.o
|
|
obj-$(CONFIG_KPROBES) += kprobes.o
|
|
obj-$(CONFIG_KGDB) += debug/
|
|
obj-$(CONFIG_DETECT_HUNG_TASK) += hung_task.o
|
|
obj-$(CONFIG_LOCKUP_DETECTOR) += watchdog.o
|
|
obj-$(CONFIG_HARDLOCKUP_DETECTOR_PERF) += watchdog_hld.o
|
|
obj-$(CONFIG_SECCOMP) += seccomp.o
|
|
obj-$(CONFIG_RELAY) += relay.o
|
|
obj-$(CONFIG_SYSCTL) += utsname_sysctl.o
|
|
obj-$(CONFIG_TASK_DELAY_ACCT) += delayacct.o
|
|
obj-$(CONFIG_TASKSTATS) += taskstats.o tsacct.o
|
|
obj-$(CONFIG_TRACEPOINTS) += tracepoint.o
|
|
obj-$(CONFIG_LATENCYTOP) += latencytop.o
|
|
obj-$(CONFIG_ELFCORE) += elfcore.o
|
|
obj-$(CONFIG_FUNCTION_TRACER) += trace/
|
|
obj-$(CONFIG_TRACING) += trace/
|
|
obj-$(CONFIG_TRACE_CLOCK) += trace/
|
|
obj-$(CONFIG_RING_BUFFER) += trace/
|
|
obj-$(CONFIG_TRACEPOINTS) += trace/
|
|
obj-$(CONFIG_IRQ_WORK) += irq_work.o
|
|
obj-$(CONFIG_CPU_PM) += cpu_pm.o
|
|
obj-$(CONFIG_BPF) += bpf/
|
|
obj-$(CONFIG_CFI_CLANG) += cfi.o
|
|
obj-$(CONFIG_SHADOW_CALL_STACK) += scs.o
|
|
|
|
obj-$(CONFIG_PERF_EVENTS) += events/
|
|
|
|
obj-$(CONFIG_USER_RETURN_NOTIFIER) += user-return-notifier.o
|
|
obj-$(CONFIG_PADATA) += padata.o
|
|
obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
|
|
obj-$(CONFIG_JUMP_LABEL) += jump_label.o
|
|
obj-$(CONFIG_CONTEXT_TRACKING) += context_tracking.o
|
|
obj-$(CONFIG_TORTURE_TEST) += torture.o
|
|
|
|
obj-$(CONFIG_HAS_IOMEM) += memremap.o
|
|
|
|
$(obj)/configs.o: $(obj)/config_data.h
|
|
|
|
targets += config_data.gz
|
|
$(obj)/config_data.gz: arch/arm64/configs/xiaomi-sm8150-stock_defconfig FORCE
|
|
$(call if_changed,gzip)
|
|
|
|
filechk_ikconfiggz = (echo "static const char kernel_config_data[] __used = MAGIC_START"; cat $< | scripts/basic/bin2c; echo "MAGIC_END;")
|
|
targets += config_data.h
|
|
$(obj)/config_data.h: $(obj)/config_data.gz FORCE
|
|
$(call filechk,ikconfiggz)
|
|
|
|
$(obj)/kheaders.o: $(obj)/kheaders_data.tar.xz
|
|
|
|
quiet_cmd_genikh = CHK $(obj)/kheaders_data.tar.xz
|
|
cmd_genikh = $(CONFIG_SHELL) $(srctree)/kernel/gen_kheaders.sh $@
|
|
$(obj)/kheaders_data.tar.xz: FORCE
|
|
$(call cmd,genikh)
|
|
|
|
clean-files := kheaders_data.tar.xz kheaders.md5
|