Makefile (72f045d19f25f19be6d7682d5b1d948e20580817) | Makefile (0715372a06ce17a9ba69bbec306ddf30c4bad99e) |
---|---|
1# This file is included by the global makefile so that you can add your own 2# architecture-specific flags and dependencies. 3# 4# This file is subject to the terms and conditions of the GNU General Public 5# License. See the file "COPYING" in the main directory of this archive 6# for more details. 7# 8 --- 98 unchanged lines hidden (view full) --- 107core-$(CONFIG_KVM) += arch/riscv/kvm/ 108 109libs-y += arch/riscv/lib/ 110libs-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a 111 112PHONY += vdso_install 113vdso_install: 114 $(Q)$(MAKE) $(build)=arch/riscv/kernel/vdso $@ | 1# This file is included by the global makefile so that you can add your own 2# architecture-specific flags and dependencies. 3# 4# This file is subject to the terms and conditions of the GNU General Public 5# License. See the file "COPYING" in the main directory of this archive 6# for more details. 7# 8 --- 98 unchanged lines hidden (view full) --- 107core-$(CONFIG_KVM) += arch/riscv/kvm/ 108 109libs-y += arch/riscv/lib/ 110libs-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a 111 112PHONY += vdso_install 113vdso_install: 114 $(Q)$(MAKE) $(build)=arch/riscv/kernel/vdso $@ |
115 $(if $(CONFIG_COMPAT),$(Q)$(MAKE) \ 116 $(build)=arch/riscv/kernel/compat_vdso $@) |
|
115 116ifeq ($(KBUILD_EXTMOD),) 117ifeq ($(CONFIG_MMU),y) 118prepare: vdso_prepare 119vdso_prepare: prepare0 120 $(Q)$(MAKE) $(build)=arch/riscv/kernel/vdso include/generated/vdso-offsets.h | 117 118ifeq ($(KBUILD_EXTMOD),) 119ifeq ($(CONFIG_MMU),y) 120prepare: vdso_prepare 121vdso_prepare: prepare0 122 $(Q)$(MAKE) $(build)=arch/riscv/kernel/vdso include/generated/vdso-offsets.h |
123 $(if $(CONFIG_COMPAT),$(Q)$(MAKE) \ 124 $(build)=arch/riscv/kernel/compat_vdso include/generated/compat_vdso-offsets.h) 125 |
|
121endif 122endif 123 124ifneq ($(CONFIG_XIP_KERNEL),y) 125ifeq ($(CONFIG_RISCV_M_MODE)$(CONFIG_SOC_CANAAN),yy) 126KBUILD_IMAGE := $(boot)/loader.bin 127else 128KBUILD_IMAGE := $(boot)/Image.gz --- 32 unchanged lines hidden --- | 126endif 127endif 128 129ifneq ($(CONFIG_XIP_KERNEL),y) 130ifeq ($(CONFIG_RISCV_M_MODE)$(CONFIG_SOC_CANAAN),yy) 131KBUILD_IMAGE := $(boot)/loader.bin 132else 133KBUILD_IMAGE := $(boot)/Image.gz --- 32 unchanged lines hidden --- |