mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-22 22:32:23 +00:00
a4ba76fd90
Just some minor clean ups like fixing whitespace and sorting things. I added (bash)/removed (libusb) white space in order to look like the other modules. I sorted the --enable/--disable/--with blocks so that common stuff looked similar which should aid in comparing modules. I also removed a couple of duplicate config options (--disable-fallback-curses & --disable-regex). Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev> Signed-off-by: Thierry Laurion <insurgo@riseup.net>
29 lines
671 B
Makefile
29 lines
671 B
Makefile
modules-$(CONFIG_NEWT) += 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 := \
|
|
#We remove Makefile passed number of jobs to only pass one job, otherwise fails to build
|
|
#$(MAKE_JOBS) \
|
|
-j1 \
|
|
$(CROSS_TOOLS) \
|
|
|
|
newt_output := \
|
|
whiptail \
|
|
|
|
newt_libraries := \
|
|
libnewt.so.0.52 \
|
|
|
|
newt_configure := \
|
|
./autogen.sh && CFLAGS="-Os" ./configure \
|
|
$(CROSS_TOOLS) \
|
|
--host $(MUSL_ARCH)-elf-linux \
|
|
--prefix "/" \
|
|
--without-tcl
|