Makefile (10205618052908770451acd33eaeaa7685e97ed2) Makefile (08734e0581a54df77f1af354b93b02ac581e4fbb)
1# This file is included by the global makefile so that you can add your own
2# architecture-specific flags and dependencies. Remember to do have actions
3# for "archclean" and "archdep" for cleaning up and making dependencies for
4# this architecture
5#
6# This file is subject to the terms and conditions of the GNU General Public
7# License. See the file "COPYING" in the main directory of this archive
8# for more details.

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

78
79libs-y += arch/riscv/lib/
80libs-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a
81
82PHONY += vdso_install
83vdso_install:
84 $(Q)$(MAKE) $(build)=arch/riscv/kernel/vdso $@
85
1# This file is included by the global makefile so that you can add your own
2# architecture-specific flags and dependencies. Remember to do have actions
3# for "archclean" and "archdep" for cleaning up and making dependencies for
4# this architecture
5#
6# This file is subject to the terms and conditions of the GNU General Public
7# License. See the file "COPYING" in the main directory of this archive
8# for more details.

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

78
79libs-y += arch/riscv/lib/
80libs-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a
81
82PHONY += vdso_install
83vdso_install:
84 $(Q)$(MAKE) $(build)=arch/riscv/kernel/vdso $@
85
86ifeq ($(CONFIG_RISCV_M_MODE)$(CONFIG_SOC_KENDRYTE),yy)
86ifeq ($(CONFIG_RISCV_M_MODE)$(CONFIG_SOC_CANAAN),yy)
87KBUILD_IMAGE := $(boot)/loader.bin
88else
89KBUILD_IMAGE := $(boot)/Image.gz
90endif
91BOOT_TARGETS := Image Image.gz loader loader.bin
92
93all: $(notdir $(KBUILD_IMAGE))
94

--- 12 unchanged lines hidden ---
87KBUILD_IMAGE := $(boot)/loader.bin
88else
89KBUILD_IMAGE := $(boot)/Image.gz
90endif
91BOOT_TARGETS := Image Image.gz loader loader.bin
92
93all: $(notdir $(KBUILD_IMAGE))
94

--- 12 unchanged lines hidden ---