heads/modules/flashtools
Sergii Dmytruk a2475e2c53
Add flashtools to Talos II boards
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2022-11-11 00:59:12 +02:00

30 lines
723 B
Plaintext

modules-$(CONFIG_FLASHTOOLS) += flashtools
flashtools_depends := $(musl_dep)
flashtools_version := 76bdfa21d65caeb7dbe9c2fa1a837369732f50af
flashtools_dir := flashtools-$(flashtools_version)
flashtools_tar := flashtools-$(flashtools_version).tar.gz
flashtools_url := https://github.com/3mdeb/flashtools/archive/$(flashtools_version).tar.gz
flashtools_hash := 81b3c1f12318bd2942b426a99638e23d24e85819227653cd3b9302fbfc43b220
flashtools_target := \
$(CROSS_TOOLS) \
CFLAGS="-I$(INSTALL)/include" \
LDFLAGS="-L$(INSTALL)/lib" \
flashtools_output := \
flashtool \
peek \
poke \
cbfs \
uefi \
ifeq "$(CONFIG_TARGET_ARCH)" "ppc64"
flashtools_output += pnor
endif
flashtools_libraries := \
flashtools_configure :=