aboutsummaryrefslogtreecommitdiffstats
path: root/include/image.mk
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-10-26 20:37:43 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-10-30 19:19:57 +0100
commit846e66153390d342a537d858c458c4e5763501c1 (patch)
treece2b201f7558b796909876c87cc6cb48c3509a93 /include/image.mk
parent37ef2197e65a6f80889309e1552c79d09729893f (diff)
downloadupstream-846e66153390d342a537d858c458c4e5763501c1.tar.gz
upstream-846e66153390d342a537d858c458c4e5763501c1.tar.bz2
upstream-846e66153390d342a537d858c458c4e5763501c1.zip
image: drop unused legacy NAND build recipes
This drops unused legacy recipes Image/Build/SysupgradeNAND and Image/Build/UbinizeImage. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'include/image.mk')
-rw-r--r--include/image.mk29
1 files changed, 0 insertions, 29 deletions
diff --git a/include/image.mk b/include/image.mk
index 28f40fe6a9..f01e160a9d 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -258,35 +258,6 @@ define Image/mkfs/squashfs
endef
endif
-# $(1): board name
-# $(2): rootfs type
-# $(3): kernel image
-# $(4): compat string
-ifneq ($(CONFIG_NAND_SUPPORT),)
- define Image/Build/SysupgradeNAND
- mkdir -p "$(KDIR_TMP)/sysupgrade-$(if $(4),$(4),$(1))/"
- echo "BOARD=$(if $(4),$(4),$(1))" > "$(KDIR_TMP)/sysupgrade-$(if $(4),$(4),$(1))/CONTROL"
- [ -z "$(2)" ] || $(CP) "$(KDIR)/root.$(2)" "$(KDIR_TMP)/sysupgrade-$(if $(4),$(4),$(1))/root"
- [ -z "$(3)" ] || $(CP) "$(3)" "$(KDIR_TMP)/sysupgrade-$(if $(4),$(4),$(1))/kernel"
- (cd "$(KDIR_TMP)"; $(TAR) cvf \
- "$(BIN_DIR)/$(IMG_PREFIX)-$(1)-$(2)-sysupgrade.tar" sysupgrade-$(if $(4),$(4),$(1)) \
- $(if $(SOURCE_DATE_EPOCH),--mtime="@$(SOURCE_DATE_EPOCH)") \
- )
- endef
-
-# $(1) board name
-# $(2) ubinize-image options (e.g. --uboot-env and/or --kernel kernelimage)
-# $(3) rootfstype (e.g. squashfs or ubifs)
-# $(4) options to pass-through to ubinize (i.e. $($(PROFILE)_UBI_OPTS)))
- define Image/Build/UbinizeImage
- sh $(TOPDIR)/scripts/ubinize-image.sh $(2) \
- "$(KDIR)/root.$(3)" \
- "$(KDIR)/$(IMG_PREFIX)-$(1)-$(3)-ubinized.bin" \
- $(4)
- endef
-
-endif
-
define Image/mkfs/ubifs
$(STAGING_DIR_HOST)/bin/mkfs.ubifs \
$(UBIFS_OPTS) $(call param_unmangle,$(call param_get,fs,$(1))) \