2018-02-28 07:46:14 +00:00
|
|
|
modules-$(CONFIG_FLASHTOOLS) += flashtools
|
|
|
|
|
|
|
|
flashtools_depends := $(musl_dep)
|
|
|
|
|
2023-03-10 14:31:22 +00:00
|
|
|
flashtools_version := d1e6f12568cb23387144a4b7a6535fe1bc1e79b1
|
2018-02-28 07:46:14 +00:00
|
|
|
flashtools_dir := flashtools-$(flashtools_version)
|
|
|
|
flashtools_tar := flashtools-$(flashtools_version).tar.gz
|
2023-03-10 14:31:22 +00:00
|
|
|
flashtools_url := https://github.com/osresearch/flashtools/archive/$(flashtools_version).tar.gz
|
|
|
|
flashtools_hash := a68cdb4a2e312f96862119a6d829ac900b53d0cbc80caa5632efd43b5b7eed6c
|
2018-02-28 07:46:14 +00:00
|
|
|
|
|
|
|
flashtools_target := \
|
|
|
|
$(CROSS_TOOLS) \
|
2024-04-23 21:56:24 +00:00
|
|
|
$(MAKE_JOBS) \
|
2023-03-01 16:12:46 +00:00
|
|
|
CFLAGS="-Os -I$(INSTALL)/include" \
|
2018-02-28 07:46:14 +00:00
|
|
|
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 :=
|