Added Pi 4 detection

This commit is contained in:
Akop Karapetyan 2019-11-20 23:37:57 +00:00 committed by tmaul
parent 2de331795d
commit a82ce19845

View File

@ -28,6 +28,11 @@ INCLUDE_AVI_RECORDING=
BUILD_A68K=
UNICODE=
RASPBIAN_VER=$(shell cat /etc/os-release | grep VERSION_ID | cut -d '=' -f2)
PI_VER=$(shell cat /proc/device-tree/model | cut -d ' ' -f 3)
ifeq ($(shell test $(PI_VER) -ge 4; echo $$?),0)
BUILD_DRM=1
endif
#
# Specify paths/files