|
|
|
@ -50,10 +50,11 @@ ifeq ($(PLATFORM),)
|
|
|
|
|
#PLATFORM = OrangePi_A64
|
|
|
|
|
#PLATFORM = OrangePi_H3
|
|
|
|
|
#PLATFORM = OrangePi_LITE2
|
|
|
|
|
PLATFORM = OrangePi_ONEPLUS
|
|
|
|
|
#PLATFORM = OrangePi_ZERO
|
|
|
|
|
#PLATFORM = OrangePi_H3_ZEROPLUS2
|
|
|
|
|
#PLATFORM = OrangePi_3
|
|
|
|
|
PLATFORM = OrangePi_RK3399
|
|
|
|
|
#PLATFORM = OrangePi_RK3399
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
ifeq ($(PLATFORM), OrangePi_2G-IOT) |
|
|
|
@ -86,6 +87,11 @@ EXTRA_CFLAGS = -DCONFIG_ORANGEPI_LITE2
|
|
|
|
|
EXTRA_CFLAGS += -DCONFIG_ORANGEPI
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
ifeq ($(PLATFORM), OrangePi_ONEPLUS) |
|
|
|
|
EXTRA_CFLAGS = -DCONFIG_ORANGEPI_LITE2
|
|
|
|
|
EXTRA_CFLAGS += -DCONFIG_ORANGEPI
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
ifeq ($(PLATFORM), OrangePi_3) |
|
|
|
|
EXTRA_CFLAGS = -DCONFIG_ORANGEPI_3
|
|
|
|
|
EXTRA_CFLAGS += -DCONFIG_ORANGEPI
|
|
|
|
@ -146,6 +152,10 @@ ifeq ($(PLATFORM), OrangePi_LITE2)
|
|
|
|
|
SRC += OrangePi.c
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
ifeq ($(PLATFORM), OrangePi_ONEPLUS) |
|
|
|
|
SRC += OrangePi.c
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
ifeq ($(PLATFORM), OrangePi_3) |
|
|
|
|
SRC += OrangePi.c
|
|
|
|
|
endif |
|
|
|
|