Makefile (446279168e030fd0ed68e2bba336bef8bb3da352) Makefile (c37b830fef1396f9f2ad79a65700e152ec362543)
1#
2# arch/arm64/Makefile
3#
4# This file is included by the global makefile so that you can add your own
5# architecture-specific flags and dependencies.
6#
7# This file is subject to the terms and conditions of the GNU General Public
8# License. See the file "COPYING" in the main directory of this archive

--- 137 unchanged lines hidden (view full) ---

146KBUILD_CPPFLAGS += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT)
147KBUILD_AFLAGS += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT)
148
149libs-y := arch/arm64/lib/ $(libs-y)
150libs-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a
151
152# Default target when executing plain make
153boot := arch/arm64/boot
1#
2# arch/arm64/Makefile
3#
4# This file is included by the global makefile so that you can add your own
5# architecture-specific flags and dependencies.
6#
7# This file is subject to the terms and conditions of the GNU General Public
8# License. See the file "COPYING" in the main directory of this archive

--- 137 unchanged lines hidden (view full) ---

146KBUILD_CPPFLAGS += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT)
147KBUILD_AFLAGS += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT)
148
149libs-y := arch/arm64/lib/ $(libs-y)
150libs-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a
151
152# Default target when executing plain make
153boot := arch/arm64/boot
154
155ifeq ($(CONFIG_EFI_ZBOOT),)
154KBUILD_IMAGE := $(boot)/Image.gz
156KBUILD_IMAGE := $(boot)/Image.gz
157else
158KBUILD_IMAGE := $(boot)/vmlinuz.efi
159endif
155
160
156all: Image.gz
161all: $(notdir $(KBUILD_IMAGE))
157
158
162
163
159Image: vmlinux
164Image vmlinuz.efi: vmlinux
160 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
161
162Image.%: Image
163 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
164
165install: KBUILD_IMAGE := $(boot)/Image
166install zinstall:
167 $(call cmd,install)

--- 46 unchanged lines hidden ---
165 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
166
167Image.%: Image
168 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
169
170install: KBUILD_IMAGE := $(boot)/Image
171install zinstall:
172 $(call cmd,install)

--- 46 unchanged lines hidden ---