mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
d549229bfc
- legacy-flash boards have a single purpose: to flash BIOS region through flashrom. - They do not need bash nor have space for it in their 4mb defined coreboot CBFS region Test build to have legacy boards builds under osresearch#1292
33 lines
806 B
Makefile
33 lines
806 B
Makefile
# GNU bash
|
|
modules-$(CONFIG_BASH) += bash
|
|
|
|
bash_version := 5.1.16
|
|
bash_dir := bash-$(bash_version)
|
|
bash_tar := bash-$(bash_version).tar.gz
|
|
bash_url := https://ftpmirror.gnu.org/bash/$(bash_tar)
|
|
bash_hash := 5bac17218d3911834520dad13cd1f85ab944e1c09ae1aba55906be1f8192f558
|
|
|
|
bash_configure := CFLAGS=-Os ./configure \
|
|
$(CROSS_TOOLS) \
|
|
--host $(target) \
|
|
--prefix="/usr" \
|
|
--enable-largefile \
|
|
--infodir=/usr/share/info \
|
|
--mandir=/usr/share/man \
|
|
--without-bash-malloc \
|
|
--disable-coprocesses \
|
|
--disable-debugger \
|
|
--disable-net-redirections \
|
|
--enable-single-help-strings \
|
|
--disable-nls \
|
|
--disable-readline \
|
|
|
|
bash_target := $(MAKE_JOBS) \
|
|
&& $(MAKE) -C $(build)/$(bash_dir) \
|
|
DESTDIR="$(INSTALL)" \
|
|
install \
|
|
|
|
bash_output := bash
|
|
|
|
bash_depends := $(musl_dep)
|