mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 04:57:55 +00:00
boards/talos-2_*: build tgz with all output files + hash
This makes output suitable for use via Heads' menus. Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
This commit is contained in:
parent
976f57f008
commit
f6999707b8
@ -51,7 +51,18 @@ export CONFIG_FLASHROM_OPTIONS="--noverify-all -p linux_mtd"
|
|||||||
|
|
||||||
OUTPUT_PREFIX := heads-$(BOARD)-$(HEADS_GIT_VERSION)
|
OUTPUT_PREFIX := heads-$(BOARD)-$(HEADS_GIT_VERSION)
|
||||||
BUNDLED_LINUX := $(OUTPUT_PREFIX)-zImage.bundled
|
BUNDLED_LINUX := $(OUTPUT_PREFIX)-zImage.bundled
|
||||||
|
OUTPUT_FILES := $(CB_OUTPUT_FILE) $(CB_BOOTBLOCK_FILE) $(BUNDLED_LINUX)
|
||||||
|
|
||||||
all: $(board_build)/$(BUNDLED_LINUX)
|
all: $(board_build)/$(BUNDLED_LINUX)
|
||||||
$(board_build)/$(BUNDLED_LINUX): $(board_build)/zImage.bundled
|
$(board_build)/$(BUNDLED_LINUX): $(board_build)/zImage.bundled
|
||||||
$(call do-copy,$<,$@)
|
$(call do-copy,$<,$@)
|
||||||
|
|
||||||
|
all: $(board_build)/$(OUTPUT_PREFIX).tgz
|
||||||
|
$(board_build)/$(OUTPUT_PREFIX).tgz: \
|
||||||
|
$(addprefix $(board_build)/,$(OUTPUT_FILES))
|
||||||
|
rm -rf $(board_build)/pkg # cleanup in case directory exists
|
||||||
|
mkdir $(board_build)/pkg
|
||||||
|
cp $^ $(board_build)/pkg
|
||||||
|
cd $(board_build)/pkg && sha256sum * > hashes.txt
|
||||||
|
cd $(board_build)/pkg && tar zcf $@ *
|
||||||
|
rm -r $(board_build)/pkg
|
||||||
|
@ -51,7 +51,18 @@ export CONFIG_FLASHROM_OPTIONS="--noverify-all -p linux_mtd"
|
|||||||
|
|
||||||
OUTPUT_PREFIX := heads-$(BOARD)-$(HEADS_GIT_VERSION)
|
OUTPUT_PREFIX := heads-$(BOARD)-$(HEADS_GIT_VERSION)
|
||||||
BUNDLED_LINUX := $(OUTPUT_PREFIX)-zImage.bundled
|
BUNDLED_LINUX := $(OUTPUT_PREFIX)-zImage.bundled
|
||||||
|
OUTPUT_FILES := $(CB_OUTPUT_FILE) $(CB_BOOTBLOCK_FILE) $(BUNDLED_LINUX)
|
||||||
|
|
||||||
all: $(board_build)/$(BUNDLED_LINUX)
|
all: $(board_build)/$(BUNDLED_LINUX)
|
||||||
$(board_build)/$(BUNDLED_LINUX): $(board_build)/zImage.bundled
|
$(board_build)/$(BUNDLED_LINUX): $(board_build)/zImage.bundled
|
||||||
$(call do-copy,$<,$@)
|
$(call do-copy,$<,$@)
|
||||||
|
|
||||||
|
all: $(board_build)/$(OUTPUT_PREFIX).tgz
|
||||||
|
$(board_build)/$(OUTPUT_PREFIX).tgz: \
|
||||||
|
$(addprefix $(board_build)/,$(OUTPUT_FILES))
|
||||||
|
rm -rf $(board_build)/pkg # cleanup in case directory exists
|
||||||
|
mkdir $(board_build)/pkg
|
||||||
|
cp $^ $(board_build)/pkg
|
||||||
|
cd $(board_build)/pkg && sha256sum * > hashes.txt
|
||||||
|
cd $(board_build)/pkg && tar zcf $@ *
|
||||||
|
rm -r $(board_build)/pkg
|
||||||
|
Loading…
Reference in New Issue
Block a user