blob: 23fc176358e1409a06d1261ff4907663b598d7f6 [file] [log] [blame]
######################### -*- Mode: Makefile-Gmake -*- ########################
## arm64.mk ---
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
## arch-tag:
##
###############################################################################
### ARM (new abi)
ifeq ($(strip $(DEB_HOST_ARCH)),arm64)
kimage := vmlinuz
target = Image
NEED_DIRECT_GZIP_IMAGE=NO
kimagesrc = arch/$(KERNEL_ARCH)/boot/Image
### EDIT(aiy): Set kimagedest to destdir/Image
kimagedest = $(INT_IMAGE_DESTDIR)/Image
# kimagedest = $(INT_IMAGE_DESTDIR)/vmlinuz-$(KERNELRELEASE)
DEBCONFIG = $(CONFDIR)/config.arm64
kelfimagesrc = vmlinux
kelfimagedest = $(INT_IMAGE_DESTDIR)/vmlinux-$(KERNELRELEASE)
KERNEL_ARCH = arm64
endif