realtek: Set RTL838X sub-target specific properties
authorBirger Koblitz <git@birger-koblitz.de>
Tue, 28 Dec 2021 18:56:59 +0000 (19:56 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 17 Feb 2022 15:21:46 +0000 (15:21 +0000)
This defines the sub-target specific properties for the RTL838X
sub-target.

Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
target/linux/realtek/rtl838x/target.mk

index f5cb1fb19b943f3c55a4110be4a33f41a26d13d0..ee658ea9862f204c3d0f5af3d6b2a30b9b1c80fb 100644 (file)
@@ -1 +1,15 @@
-BOARDNAME:=Generic
+# SPDX-License-Identifier: GPL-2.0-only
+ARCH:=mips
+SUBTARGET:=rtl838x
+CPU_TYPE:=4kec
+BOARD:=realtek
+BOARDNAME:=Realtek MIPS RTL838X
+
+KERNEL_PATCHVER:=5.10
+
+define Target/Description
+       Build firmware images for Realtek RTL838x based boards.
+endef
+
+FEATURES := $(filter-out mips16,$(FEATURES))
+