The identical build step is defined twice. Move it to the parent Makefile to use only one version. Signed-off-by: Mathias Kresin <[email protected]>
@@ -83,6 +83,15 @@ define Build/senao-header
mv [email protected] $@
endef
+define Build/seama
+ $(STAGING_DIR_HOST)/bin/seama -i $@ $(1)
+ mv [email protected] $@
+endef
+
+define Build/seama-seal
+ $(call Build/seama,-s [email protected] $(1))
#
# The real magic happens inside these templates
@@ -37,15 +37,6 @@ define Build/elecom-header
$(STAGING_DIR_HOST)/bin/tar -cf $@ -C $(KDIR) v_0.0.0.bin v_0.0.0.md5
-define Build/seama
- $(STAGING_DIR_HOST)/bin/seama -i $@ $(1)
- mv [email protected] $@
-endef
-
-define Build/seama-seal
- $(call Build/seama,-s [email protected] $(1))
define Device/ArcherC20i
DTS := ArcherC20i
KERNEL := $(KERNEL_DTB)
@@ -2,15 +2,6 @@
# MT7621 Profiles
define Build/ubnt-erx-factory-image
if [ -e $(KDIR)/tmp/$(KERNEL_INITRAMFS_IMAGE) -a "$$(stat -c%s $@)" -lt "$(KERNEL_SIZE)" ]; then \
echo '21001:6' > $(1).compat; \