Index: Makefile
===================================================================
--- Makefile (revision 30)
+++ Makefile (revision 31)
@@ -9,6 +9,7 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
@@ -231,6 +232,14 @@
extra_configure_switches += --with-abi=lp64
endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK358X_GLIBC)),)
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --with-arch=armv8.2-a
+extra_configure_switches += --with-cpu=cortex-a75
+extra_configure_switches += --with-fpu=neon-fp-armv8
+extra_configure_switches += --with-abi=lp64
+endif
+
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_S8XX_GLIBC)),)
extra_configure_switches += --enable-interwork
extra_configure_switches += --enable-multilib