Browse Source

realtek: image: make xikestor-nosimg a common recipe

Make xikestor-nosimg a common recipe in the Makefile to allow usage for
other subtargets too, not only rtl930x.

Signed-off-by: Jonas Jelonek <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/21922
Signed-off-by: Hauke Mehrtens <[email protected]>
Jonas Jelonek 3 weeks ago
parent
commit
659719d8ca
2 changed files with 5 additions and 5 deletions
  1. 5 0
      target/linux/realtek/image/Makefile
  2. 0 5
      target/linux/realtek/image/rtl930x.mk

+ 5 - 0
target/linux/realtek/image/Makefile

@@ -108,6 +108,11 @@ define Build/linksys-image
 	mv [email protected] $@
 endef
 
+define Build/xikestor-nosimg
+	$(STAGING_DIR_HOST)/bin/nosimg-enc -i $@ -o [email protected]
+	mv [email protected] $@
+endef
+
 define Build/zynsig
 	$(STAGING_DIR_HOST)/bin/zynsig -i $@ \
 		-o [email protected]

+ 0 - 5
target/linux/realtek/image/rtl930x.mk

@@ -2,11 +2,6 @@
 
 include ./common.mk
 
-define Build/xikestor-nosimg
-  $(STAGING_DIR_HOST)/bin/nosimg-enc -i $@ -o [email protected]
-  mv [email protected] $@
-endef
-
 define Device/hasivo_s1100w-8xgt-se
   SOC := rtl9303
   DEVICE_VENDOR := Hasivo