summaryrefslogtreecommitdiff
path: root/scripts/Makefile.vmlinux
blob: 10176dec97eac23fea5385d1d97b80a3617eaea3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# SPDX-License-Identifier: GPL-2.0-only

PHONY := __default
__default: vmlinux

include include/config/auto.conf
include $(srctree)/scripts/Kbuild.include

# for c_flags
include $(srctree)/scripts/Makefile.lib

targets :=

quiet_cmd_cc_o_c = CC      $@
      cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $<

%.o: %.c FORCE
	$(call if_changed_dep,cc_o_c)

ifdef CONFIG_MODULES
KASAN_SANITIZE_.vmlinux.export.o := n
targets += .vmlinux.export.o
vmlinux: .vmlinux.export.o
endif

ARCH_POSTLINK := $(wildcard $(srctree)/arch/$(SRCARCH)/Makefile.postlink)

# Final link of vmlinux with optional arch pass after final link
cmd_link_vmlinux =							\
	$< "$(LD)" "$(KBUILD_LDFLAGS)" "$(LDFLAGS_vmlinux)";		\
	$(if $(ARCH_POSTLINK), $(MAKE) -f $(ARCH_POSTLINK) $@, true)

targets += vmlinux
vmlinux: scripts/link-vmlinux.sh vmlinux.o $(KBUILD_LDS) FORCE
	+$(call if_changed_dep,link_vmlinux)

# Add FORCE to the prequisites of a target to force it to be always rebuilt.
# ---------------------------------------------------------------------------

PHONY += FORCE
FORCE:

# Read all saved command lines and dependencies for the $(targets) we
# may be building above, using $(if_changed{,_dep}). As an
# optimization, we don't need to read them if the target does not
# exist, we will rebuild anyway in that case.

existing-targets := $(wildcard $(sort $(targets)))

-include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)

.PHONY: $(PHONY)
up hardware stateLucas Stach 2021-09-16drm/etnaviv: fix MMU context leak on GPU resetLucas Stach 2021-09-16drm/etnaviv: exec and MMU state is lost when resetting the GPULucas Stach 2021-09-16drm/etnaviv: keep MMU context across runtime suspend/resumeLucas Stach 2021-09-16drm/etnaviv: stop abusing mmu_context as FE running markerLucas Stach 2021-09-16drm/etnaviv: put submit prev MMU context when it existsLucas Stach 2021-09-16drm/etnaviv: return context from etnaviv_iommu_context_getLucas Stach 2021-07-06drm/etnaviv: add clock gating workaround for GC7000 r6202Michael Walle 2021-05-03drm/etnaviv: rework linear window offset calculationLucas Stach 2021-05-03drm/etnaviv: Remove useless error messageTian Tao 2021-01-22drm/etnaviv: provide more ID values via GET_PARAM ioctl.Christian Gmeiner 2020-08-24drm/etnaviv: fix external abort seen on GC600 rev 0x19Christian Gmeiner 2020-07-17drm/etnaviv: fix ref count leak via pm_runtime_get_syncNavid Emamdoost 2020-06-18drm/etnaviv: Simplify clock enable/disableLubomir Rintel 2020-06-18drm/etnaviv: Make the "core" clock mandatoryLubomir Rintel 2020-06-18drm/etnaviv: Don't ignore errors on getting clocksLubomir Rintel 2020-06-18drm/etnaviv: Fix error path on failure to enable bus clkLubomir Rintel 2020-03-20drm/etnaviv: request pages from DMA32 zone when neededLucas Stach 2020-03-03drm/etnaviv: Warn when GPU doesn't idle fast enoughGuido Günther 2020-03-03drm/etnaviv: Ignore MC when checking runtime suspend idlenessGuido Günther 2020-03-03drm/etnaviv: Consider all kwnown idle bits in debugfsGuido Günther 2020-03-03drm/etnaviv: Fix typo in commentGuido Günther 2020-02-26drm/etnaviv: show identity information in debugfsChristian Gmeiner 2020-02-26drm/etnaviv: determine product, customer and eco idChristian Gmeiner 2019-12-18drm/etnaviv: avoid deprecated timespecArnd Bergmann 2019-08-15drm/etnaviv: implement softpinLucas Stach 2019-08-15drm/etnaviv: implement per-process address spaces on MMUv2Lucas Stach 2019-08-15drm/etnaviv: split out starting of FE idle loopLucas Stach 2019-08-15drm/etnaviv: rework MMU handlingLucas Stach 2019-08-15drm/etnaviv: share a single cmdbuf suballoc region across all GPUsLucas Stach 2019-08-15drm/etnaviv: split out cmdbuf mapping into address spaceLucas Stach 2019-08-15drm/etnaviv: simplify unbind checksLucas Stach 2019-08-02drm/etnaviv: clean up includesLucas Stach 2019-08-02drm/etnaviv: Use devm_platform_ioremap_resource()Fabio Estevam 2019-08-02drm/etnaviv: drop use of drmP.hSam Ravnborg 2019-06-28drm/etnaviv: add missing failure path to destroy suballocLucas Stach 2019-05-03drm/etnaviv: initialize idle mask before querying the HW dbLucas Stach