Blame view

arch/arm64/boot/Makefile 1.13 KB
8c2c3df31   Catalin Marinas   arm64: Build infr...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  #
  # arch/arm64/boot/Makefile
  #
  # This file is included by the global makefile so that you can add your own
  # architecture-specific flags and dependencies.
  #
  # This file is subject to the terms and conditions of the GNU General Public
  # License.  See the file "COPYING" in the main directory of this archive
  # for more details.
  #
  # Copyright (C) 2012, ARM Ltd.
  # Author: Will Deacon <will.deacon@arm.com>
  #
  # Based on the ia64 boot/Makefile.
  #
f8fa70f39   Mark Rutland   arm64: localise I...
16
  OBJCOPYFLAGS_Image :=-O binary -R .note -R .note.gnu.build-id -R .comment -S
8c2c3df31   Catalin Marinas   arm64: Build infr...
17
18
19
20
  targets := Image Image.gz
  
  $(obj)/Image: vmlinux FORCE
  	$(call if_changed,objcopy)
0723c05fb   Olof Johansson   arm64: enable mor...
21
22
  $(obj)/Image.bz2: $(obj)/Image FORCE
  	$(call if_changed,bzip2)
8c2c3df31   Catalin Marinas   arm64: Build infr...
23
24
  $(obj)/Image.gz: $(obj)/Image FORCE
  	$(call if_changed,gzip)
0723c05fb   Olof Johansson   arm64: enable mor...
25
26
27
28
29
30
31
32
  $(obj)/Image.lz4: $(obj)/Image FORCE
  	$(call if_changed,lz4)
  
  $(obj)/Image.lzma: $(obj)/Image FORCE
  	$(call if_changed,lzma)
  
  $(obj)/Image.lzo: $(obj)/Image FORCE
  	$(call if_changed,lzo)
8684fa3e7   Masahiro Yamada   arm64: kbuild: ma...
33
  install:
8c2c3df31   Catalin Marinas   arm64: Build infr...
34
35
  	$(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
  	$(obj)/Image System.map "$(INSTALL_PATH)"
8684fa3e7   Masahiro Yamada   arm64: kbuild: ma...
36
  zinstall:
8c2c3df31   Catalin Marinas   arm64: Build infr...
37
38
  	$(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
  	$(obj)/Image.gz System.map "$(INSTALL_PATH)"