瀏覽代碼

build: drop cameo-factory recipe

The cameo factory images are created using existing image build
commands, which makes the code obsolete.

Signed-off-by: Mathias Kresin <[email protected]>
Mathias Kresin 6 年之前
父節點
當前提交
09004e6e13
共有 1 個文件被更改,包括 0 次插入12 次删除
  1. 0 12
      include/image-commands.mk

+ 0 - 12
include/image-commands.mk

@@ -44,18 +44,6 @@ define Build/buffalo-dhp-image
 	mv [email protected] $@
 endef
 
-# blow up binary to given size and put a given string at its end:
-# cameo-factory <size[k]> <string>
-define Build/cameo-factory
-	factory_stamp=$(word 2,$(1)); \
-	((reduced_size=$(subst k,*1024,$(word 1,$(1)))-$${#factory_stamp})); \
-	( \
-		dd if=$@ bs=$$reduced_size conv=sync; \
-		echo -n $$factory_stamp; \
-	) > [email protected] && \
-	mv [email protected] $@
-endef
-
 define Build/eva-image
 	$(STAGING_DIR_HOST)/bin/lzma2eva $(KERNEL_LOADADDR) $(KERNEL_LOADADDR) $@ [email protected]
 	mv [email protected] $@