Merge pull request #316 from cronyx/master

another way to get chip name
pull/317/head
cronyx 2022-08-05 13:03:11 +03:00 committed by GitHub
commit f325da1475
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 6 deletions

View File

@ -9,12 +9,7 @@ HISILICON_OPENSDK_SITE = $(call github,openipc,openhisilicon,$(HISILICON_OPENSDK
HISILICON_OPENSDK_LICENSE = GPL-3.0
HISILICON_OPENSDK_LICENSE_FILES = LICENSE
ifndef BOARD
@$$(call MESSAGE,"Variable BOARD must be defined")
@exit
else
CHIP := $(shell echo $(BOARD) | cut -d "_" -f 3)
endif
CHIP := $(shell grep "/board/" $(BR2_CONFIG) | head -1 | cut -d "/" -f 5 | cut -d "." -f 1)
HISILICON_OPENSDK_MODULE_SUBDIRS = kernel
HISILICON_OPENSDK_MODULE_MAKE_OPTS = \