#
# arch/sw_64/boot/Makefile
#
#
# 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.
#
# Based on arch/arm64/boot/Makefile.
#

#OBJCOPYFLAGS_Image :=-O binary -R .note -R .note.gnu.build-id -R .comment -S

targets	:= vmlinux vmlinux.gz

quiet_cmd_strip = STRIP  $@
      cmd_strip = $(STRIP) -o $@ $<

# Compressed kernel image
$(obj)/vmlinux.gz: $(obj)/vmlinux FORCE
	$(call if_changed,gzip)
	@echo '  Kernel $@ is ready'

$(obj)/vmlinux: vmlinux FORCE
	$(call if_changed,strip)

#$(obj)/vmlinux.bin: vmlinux FORCE
#	$(call if_changed,objcopy)
