# r16-pv1 HARDWARE_VERSION:=DVT HARDWARE_ALIAS:=r16-pv1 ifeq ('$(CONFIG_BOARD_HARDWARE_VERSION_DVT)', 'y') HARDWARE_VERSION=DVT HARDWARE_ALIAS=r16-pv1 endif ifeq ('$(CONFIG_BOARD_HARDWARE_VERSION_EVT)', 'y') HARDWARE_VERSION=EVT HARDWARE_ALIAS=r16-pv1 endif ifeq ('$(CONFIG_BOARD_HARDWARE_VERSION_R311_PV1)', 'y') HARDWARE_VERSION=r311-pv1 HARDWARE_ALIAS=r311-pv1 endif ifeq ('$(CONFIG_BOARD_HARDWARE_VERSION_R311_PV1_CES)', 'y') HARDWARE_VERSION=r311-pv1c HARDWARE_ALIAS=r311-pv1c endif ifeq ('$(CONFIG_BOARD_HARDWARE_VERSION_R311_PV2)', 'y') HARDWARE_VERSION=r311-pv2 HARDWARE_ALIAS=r311-pv2 endif ifeq ('$(CONFIG_BOARD_HARDWARE_VERSION_R311_C1_EVB)', 'y') HARDWARE_VERSION=r311-c1-evb HARDWARE_ALIAS=r311-c1-evb endif GIT_TAG:=$(shell cd $(TOPDIR) && git describe --tags `git rev-list --tags --max-count=1`) COMMIT_HASH:=$(shell cd $(TOPDIR) && git rev-parse HEAD 2>/dev/null) BUILD_DATE:=$(shell TZ='Asia/Shanghai' date '+%Y-%m-%d_%H:%M:%S') $(info HARDWARE_VERSION: $(HARDWARE_VERSION) HARDWARE_ALIAS: $(HARDWARE_ALIAS) GIT_TAG: $(GIT_TAG) BUILD_DATE:$(BUILD_DATE) COMMIT_HASH:$(COMMIT_HASH))