heads/modules/flashtools
Thierry Laurion dcf65ea892
modules/flashtools : version bump back to osresearch/flashtools
Changes to support ppc64 were merged upstream
2023-03-10 09:31:22 -05:00

30 lines
732 B
Makefile

modules-$(CONFIG_FLASHTOOLS) += flashtools
flashtools_depends := $(musl_dep)
flashtools_version := d1e6f12568cb23387144a4b7a6535fe1bc1e79b1
flashtools_dir := flashtools-$(flashtools_version)
flashtools_tar := flashtools-$(flashtools_version).tar.gz
flashtools_url := https://github.com/osresearch/flashtools/archive/$(flashtools_version).tar.gz
flashtools_hash := a68cdb4a2e312f96862119a6d829ac900b53d0cbc80caa5632efd43b5b7eed6c
flashtools_target := \
$(CROSS_TOOLS) \
CFLAGS="-Os -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 :=