mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-22 06:17:52 +00:00
88c732833a
The whiptail binary will allow us to create GUI menus from bash scripts. It is included in the newt library, which depends on slang. To enable, the board configuration file should add CONFIG_SLANG=y and CONFIG_NEWT=y
25 lines
535 B
Plaintext
25 lines
535 B
Plaintext
modules-$(CONFIG_TPMTOTP) += newt
|
|
|
|
newt_depends := popt slang $(musl_dep)
|
|
|
|
newt_version := 0.52.20
|
|
newt_dir := newt-$(newt_version)
|
|
newt_tar := newt-$(newt_version).tar.gz
|
|
newt_url := https://releases.pagure.org/newt/$(newt_tar)
|
|
newt_hash := 8d66ba6beffc3f786d4ccfee9d2b43d93484680ef8db9397a4fb70b5adbb6dbc
|
|
|
|
newt_target := \
|
|
$(MAKE_JOBS) \
|
|
$(CROSS_TOOLS) \
|
|
|
|
newt_output := \
|
|
whiptail \
|
|
|
|
newt_libraries := \
|
|
libnewt.so.0.52 \
|
|
|
|
newt_configure := ./autogen.sh; ./configure \
|
|
$(CROSS_TOOLS) \
|
|
--prefix "/" \
|
|
--host i386-elf-linux \
|