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>
34 lines
799 B
Makefile
34 lines
799 B
Makefile
modules-$(CONFIG_SLANG) += slang
|
|
|
|
slang_version := 2.3.1a
|
|
slang_dir := slang-$(slang_version)
|
|
slang_tar := slang-$(slang_version).tar.bz2
|
|
slang_url := https://www.jedsoft.org/releases/slang/$(slang_tar)
|
|
slang_hash := 54f0c3007fde918039c058965dffdfd6c5aec0bad0f4227192cc486021f08c36
|
|
|
|
slang_configure := ./configure \
|
|
$(CROSS_TOOLS) \
|
|
ac_cv_path_nc5config=ncurses-config \
|
|
--host $(MUSL_ARCH)-elf-linux \
|
|
--prefix "/" \
|
|
--with-onig=no \
|
|
--with-pcre=no \
|
|
--with-png=no \
|
|
--with-z=no \
|
|
&& mkdir -p src/elfobjs
|
|
|
|
# Disable parallel make for the install target
|
|
slang_target := \
|
|
$(MAKE_JOBS) \
|
|
$(CROSS_TOOLS) \
|
|
&& $(MAKE) \
|
|
-j1 \
|
|
-C "$(build)/$(slang_dir)" \
|
|
$(CROSS_TOOLS) \
|
|
DESTDIR="$(INSTALL)" \
|
|
install
|
|
|
|
slang_libraries := src/elfobjs/libslang.so.2
|
|
|
|
slang_depends := $(musl_dep)
|