mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 21:43:11 +00:00
907e906f01
Adresses @easrentai suggestion to pass modules build optimization for space here: #590 (comment) - Uniformized module's $(CROSS_TOOLS) being passed as environment variable, prior of ./configure call Doesn't work for: - busybox (HOSTCXXFLAGS="-Os" attempted prior of ./configure call) - zlib (CFLAGS="-Os" attempted prior of ./configure call) - npth (CFLAGS="-Os" attempted prior of ./configure call)
30 lines
727 B
Makefile
30 lines
727 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="-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 :=
|