Changelog:
git log --oneline ac6742520d..b621b157b4
b621b15 aarch64: Enable access into FEAT_SPE_FDS register from EL2 and below
785302c aarch64: Enable use of ZT0
7f5a545 aarch64: Enable use of FPMR
0f3a153 aarch64: shuffle ID_AA64PFR{0,1}_EL1 definitions
0e78492 Makefile: Ensure initrd parameters in /chosen are up-to-date
1571345 aarch64: Enable access into FEAT_PMUv3p9 registers from EL2 and below
e1b9137 aarch64: Enable access into FEAT_FGT2 registers from EL2 and below
Cc: Vincent Stehlé <vincent.stehle@laposte.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
51 lines
1.9 KiB
Makefile
51 lines
1.9 KiB
Makefile
################################################################################
|
|
#
|
|
# boot-wrapper-aarch64
|
|
#
|
|
################################################################################
|
|
|
|
BOOT_WRAPPER_AARCH64_VERSION = b621b157b42f1fe398520cf499db88aa654c78e2
|
|
BOOT_WRAPPER_AARCH64_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git
|
|
BOOT_WRAPPER_AARCH64_SITE_METHOD = git
|
|
BOOT_WRAPPER_AARCH64_LICENSE = BSD-3-Clause
|
|
BOOT_WRAPPER_AARCH64_LICENSE_FILES = LICENSE.txt
|
|
BOOT_WRAPPER_AARCH64_DEPENDENCIES = linux
|
|
BOOT_WRAPPER_AARCH64_INSTALL_IMAGES = YES
|
|
|
|
# The Git repository does not have the generated configure script and
|
|
# Makefile.
|
|
BOOT_WRAPPER_AARCH64_AUTORECONF = YES
|
|
|
|
BOOT_WRAPPER_AARCH64_DTB = $(LINUX_DIR)/arch/arm64/boot/dts/$(basename $(call qstrip,$(BR2_TARGET_BOOT_WRAPPER_AARCH64_DTS))).dtb
|
|
|
|
BOOT_WRAPPER_AARCH64_CONF_OPTS = \
|
|
--with-kernel-dir=$(LINUX_DIR) \
|
|
--with-dtb=$(BOOT_WRAPPER_AARCH64_DTB) \
|
|
--with-cmdline=$(BR2_TARGET_BOOT_WRAPPER_AARCH64_BOOTARGS)
|
|
|
|
ifeq ($(BR2_TARGET_BOOT_WRAPPER_AARCH64_PSCI),y)
|
|
BOOT_WRAPPER_AARCH64_CONF_OPTS += --enable-psci
|
|
else
|
|
BOOT_WRAPPER_AARCH64_CONF_OPTS += --disable-psci
|
|
endif
|
|
|
|
ifeq ($(BR2_TARGET_BOOT_WRAPPER_AARCH64_GICV3),y)
|
|
BOOT_WRAPPER_AARCH64_CONF_OPTS += --enable-gicv3
|
|
endif
|
|
|
|
# We need to convince the configure script that the Linux kernel tree
|
|
# exists, as well as the DTB and the kernel Image. Even though those
|
|
# are available on the build machine, the configure script uses
|
|
# AC_CHECK_FILE tests, which are always disabled in cross-compilation
|
|
# situations.
|
|
BOOT_WRAPPER_AARCH64_CONF_ENV = \
|
|
$(call AUTOCONF_AC_CHECK_FILE_VAL,$(LINUX_DIR))=yes \
|
|
$(call AUTOCONF_AC_CHECK_FILE_VAL,$(LINUX_DIR)$(BOOT_WRAPPER_AARCH64_DTB))=yes \
|
|
$(call AUTOCONF_AC_CHECK_FILE_VAL,$(LINUX_DIR)/arch/arm64/boot/Image)=yes
|
|
|
|
define BOOT_WRAPPER_AARCH64_INSTALL_IMAGES_CMDS
|
|
cp $(@D)/linux-system.axf $(BINARIES_DIR)
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|