mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-12 07:52:56 +00:00
1b8ac07a58
The modules file had a few errors that prevented slang from being built. First the src/elfobjs file needed to be created before make started. Second it needed to be configured without external png, pcre and onig libraries it doesn't need for this application.
30 lines
679 B
Plaintext
30 lines
679 B
Plaintext
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) \
|
|
--prefix "/" \
|
|
--host i386-elf-linux \
|
|
--with-png=no \
|
|
--with-pcre=no \
|
|
--with-onig=no \
|
|
&& mkdir src/elfobjs
|
|
|
|
slang_target := \
|
|
$(MAKE_JOBS) \
|
|
$(CROSS_TOOLS) \
|
|
&& $(MAKE) \
|
|
-C "$(build)/$(slang_dir)" \
|
|
$(CROSS_TOOLS) \
|
|
DESTDIR="$(INSTALL)" \
|
|
install
|
|
|
|
slang_libraries := src/elfobjs/libslang.so.2
|
|
|
|
slang_depends := $(musl_dep)
|