diff --git a/boot/opensbi/opensbi.mk b/boot/opensbi/opensbi.mk index f8cbbb8fcc..a525b8aea3 100644 --- a/boot/opensbi/opensbi.mk +++ b/boot/opensbi/opensbi.mk @@ -20,7 +20,9 @@ OPENSBI_SITE = $(call github,riscv,opensbi,v$(OPENSBI_VERSION)) endif OPENSBI_LICENSE = BSD-2-Clause +ifeq ($(BR2_TARGET_OPENSBI_LATEST_VERSION),y) OPENSBI_LICENSE_FILES = COPYING.BSD +endif OPENSBI_INSTALL_TARGET = NO OPENSBI_INSTALL_STAGING = YES