Skip to content

Commit

Permalink
realtek: move Netgear recipe to subtarget Makefile
Browse files Browse the repository at this point in the history
There seems to be no reason to have the Netgear switches as part of
the main Makefile. Move it to its subtarget-specific Makefile since
it is only applicable there.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
[update commit message]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
  • Loading branch information
oliv3r authored and fixcom committed Feb 26, 2024
1 parent 177da55 commit 3805242
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 0 additions & 10 deletions target/linux/realtek/image/Makefile
Expand Up @@ -90,16 +90,6 @@ define Device/Default
check-size | append-metadata
endef

# "NGE" refers to the uImage magic
define Device/netgear_nge
KERNEL := kernel-bin | append-dtb | lzma | uImage lzma
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma
SOC := rtl8380
IMAGE_SIZE := 14848k
UIMAGE_MAGIC := 0x4e474520
DEVICE_VENDOR := NETGEAR
endef

include $(SUBTARGET).mk

$(eval $(call BuildImage))
10 changes: 10 additions & 0 deletions target/linux/realtek/image/rtl838x.mk
Expand Up @@ -105,6 +105,16 @@ define Device/iodata_bsh-g24mb
endef
TARGET_DEVICES += iodata_bsh-g24mb

# "NGE" refers to the uImage magic
define Device/netgear_nge
KERNEL := kernel-bin | append-dtb | lzma | uImage lzma
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma
SOC := rtl8380
IMAGE_SIZE := 14848k
UIMAGE_MAGIC := 0x4e474520
DEVICE_VENDOR := NETGEAR
endef

define Device/netgear_gs108t-v3
$(Device/netgear_nge)
DEVICE_MODEL := GS108T
Expand Down

0 comments on commit 3805242

Please sign in to comment.