2018-02-28 07:46:14 +00:00
|
|
|
modules-$(CONFIG_FLASHTOOLS) += flashtools
|
|
|
|
|
|
|
|
flashtools_depends := $(musl_dep)
|
|
|
|
|
2022-10-09 21:23:00 +00:00
|
|
|
flashtools_version := 76bdfa21d65caeb7dbe9c2fa1a837369732f50af
|
2018-02-28 07:46:14 +00:00
|
|
|
flashtools_dir := flashtools-$(flashtools_version)
|
|
|
|
flashtools_tar := flashtools-$(flashtools_version).tar.gz
|
2022-10-09 21:23:00 +00:00
|
|
|
flashtools_url := https://github.com/3mdeb/flashtools/archive/$(flashtools_version).tar.gz
|
|
|
|
flashtools_hash := 81b3c1f12318bd2942b426a99638e23d24e85819227653cd3b9302fbfc43b220
|
2018-02-28 07:46:14 +00:00
|
|
|
|
|
|
|
flashtools_target := \
|
|
|
|
$(CROSS_TOOLS) \
|
|
|
|
CFLAGS="-I$(INSTALL)/include" \
|
|
|
|
LDFLAGS="-L$(INSTALL)/lib" \
|
|
|
|
|
|
|
|
flashtools_output := \
|
|
|
|
flashtool \
|
|
|
|
peek \
|
|
|
|
poke \
|
2018-04-19 16:54:05 +00:00
|
|
|
cbfs \
|
2018-04-30 02:58:44 +00:00
|
|
|
uefi \
|
2018-02-28 07:46:14 +00:00
|
|
|
|
2022-10-09 21:23:00 +00:00
|
|
|
ifeq "$(CONFIG_TARGET_ARCH)" "ppc64"
|
|
|
|
flashtools_output += pnor
|
|
|
|
endif
|
|
|
|
|
2018-02-28 07:46:14 +00:00
|
|
|
flashtools_libraries := \
|
|
|
|
|
|
|
|
flashtools_configure :=
|