Use lite/fpv/ultimate Majestic binary releases with exceptions

pull/391/head
Dmitry Ilyin 2022-08-20 16:19:36 +03:00
parent bb9656dc18
commit 9a82534f5e
1 changed files with 14 additions and 4 deletions

View File

@ -14,10 +14,6 @@ FAMILY := $(shell grep "/board/" $(BR2_CONFIG) | head -1 | cut -d "/" -f 3)
# TODO: change field number removing unknown_unknown
RELEASE := $(shell grep "BR2_DEFCONFIG" $(BR2_CONFIG) | head -1 | cut -d "_" -f 5)
ifneq ($(RELEASE),ultimate)
RELEASE := lite
endif
ifeq ($(BR2_PACKAGE_INGENIC_OSDRV_T20),y)
FAMILY := t21
else ifeq ($(BR2_PACKAGE_INGENIC_OSDRV_T30),y)
@ -28,6 +24,20 @@ else ifeq ($(BR2_PACKAGE_SIGMASTAR_OSDRV_SSC335),y)
FAMILY := ssc335
endif
ifeq ($(RELEASE),fpv)
# keep
else ifeq ($(RELEASE),ultimate)
# we don't have Majestic binary Ultimate distributions for these
# platforms so use Lite
ifeq ($(FAMILY),hi3516av100)
RELEASE := lite
else ifeq ($(FAMILY),hi3519v101)
RELEASE := lite
endif
else
RELEASE := lite
endif
MAJESTIC_SOURCE := majestic.$(FAMILY).$(RELEASE).master.tar.bz2
MAJESTIC_DEPENDENCIES = \