mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-21 05:53:14 +00:00
a2475e2c53
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
30 lines
723 B
Makefile
30 lines
723 B
Makefile
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 :=
|