Makefile (7ae9fb1b7ecbb5d85d07857943f677fd1a559b18) Makefile (559d1e45a16dcf1542e430ea3dce9ab625be98d0)
1#
2# arch/riscv/boot/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

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

28cmd_mkxip = $(cmd_objcopy)
29
30$(obj)/xipImage: vmlinux FORCE
31 $(call if_changed,mkxip)
32 @$(kecho) ' Physical Address of xipImage: $(CONFIG_XIP_PHYS_ADDR)'
33
34endif
35
1#
2# arch/riscv/boot/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

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

28cmd_mkxip = $(cmd_objcopy)
29
30$(obj)/xipImage: vmlinux FORCE
31 $(call if_changed,mkxip)
32 @$(kecho) ' Physical Address of xipImage: $(CONFIG_XIP_PHYS_ADDR)'
33
34endif
35
36ifdef CONFIG_RELOCATABLE
37vmlinux.relocs: vmlinux
38 @ (! [ -f vmlinux.relocs ] && echo "vmlinux.relocs can't be found, please remove vmlinux and try again") || true
39
40$(obj)/Image: vmlinux.relocs FORCE
41else
36$(obj)/Image: vmlinux FORCE
42$(obj)/Image: vmlinux FORCE
43endif
37 $(call if_changed,objcopy)
38
39$(obj)/Image.gz: $(obj)/Image FORCE
40 $(call if_changed,gzip)
41
42$(obj)/loader.o: $(src)/loader.S $(obj)/Image
43
44$(obj)/loader: $(obj)/loader.o $(obj)/Image $(obj)/loader.lds FORCE

--- 25 unchanged lines hidden ---
44 $(call if_changed,objcopy)
45
46$(obj)/Image.gz: $(obj)/Image FORCE
47 $(call if_changed,gzip)
48
49$(obj)/loader.o: $(src)/loader.S $(obj)/Image
50
51$(obj)/loader: $(obj)/loader.o $(obj)/Image $(obj)/loader.lds FORCE

--- 25 unchanged lines hidden ---