0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2025-08-17 19:52:55 +00:00
Files
openwrt/target/linux/realtek/Makefile
Markus Stockhausen 7cf7f7c6b9 realtek: add NAND targets for RTL93xx
Some known RTL93xx devices like the Linksys LGS328C or LGS352C are
NAND based. These require additional drivers and packages (e.g. UBI).
The current subtargets are already taylored down for devices with
only 16MB flash. Adding features that are not used will only make
the storage situation more complicated.

Add two new subtargets for RTL93xx that include the basic NAND, UBI
and MTD features. To achieve this do the following:

- Create new subtarget folders
- Copy the existing config and makefiles over
- Add the basic additional features
- Mark them as SOURCE-ONLY
- Add empty image makefiles
- Remove unneded NAND/MTD features from existing configs

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/19700
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-08-10 11:46:52 +02:00

29 lines
524 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
include $(TOPDIR)/rules.mk
ARCH:=mips
BOARD:=realtek
BOARDNAME:=Realtek MIPS
DEVICE_TYPE:=basic
FEATURES:=ramdisk squashfs
SUBTARGETS:=rtl838x rtl839x rtl930x rtl930x_nand rtl931x rtl931x_nand
KERNEL_PATCHVER:=6.12
define Target/Description
Build firmware images for Realtek RTL83xx/RTL93xx based boards.
endef
include $(INCLUDE_DIR)/target.mk
DEFAULT_PACKAGES += \
ethtool \
firewall4 \
kmod-gpio-button-hotplug \
odhcp6c \
uboot-envtools \
$(eval $(call BuildTarget))