mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 12:46:26 +00:00
Build ncurses for terminfo definitions.
Signed-off-by: Matthew Drobnak <matthew@drobnak.com>
This commit is contained in:
parent
6e148cb7f2
commit
2f8c1a51df
29
modules/ncurses
Normal file
29
modules/ncurses
Normal file
@ -0,0 +1,29 @@
|
||||
modules-y += ncurses
|
||||
|
||||
ncurses_depends := $(musl_dep)
|
||||
|
||||
ncurses_version := 6.5
|
||||
ncurses_dir := ncurses-$(ncurses_version)
|
||||
ncurses_tar := ncurses-$(ncurses_version).tar.gz
|
||||
ncurses_url := https://invisible-island.net/archives/ncurses/ncurses-$(ncurses_version).tar.gz
|
||||
ncurses_hash := 136d91bc269a9a5785e5f9e980bc76ab57428f604ce3e5a5a90cebc767971cc6
|
||||
|
||||
ncurses_configure := \
|
||||
CFLAGS="-Os" ./configure \
|
||||
$(CROSS_TOOLS) \
|
||||
--host $(MUSL_ARCH)-elf-linux \
|
||||
--without-ada \
|
||||
--without-cxx \
|
||||
--without-cxx-binding \
|
||||
--without-manpages \
|
||||
--without-shared
|
||||
|
||||
#build hack: we cp installed terminfo dir back into build dir to pack terminfo in initrd
|
||||
ncurses_target := $(MAKE_JOBS) \
|
||||
$(CROSS_TOOLS) \
|
||||
DESTDIR="$(INSTALL)" \
|
||||
install.data && \
|
||||
cp -vpr $(INSTALL)/usr/share/terminfo "$(build)/$(ncurses_dir)"
|
||||
|
||||
ncurses_data := \
|
||||
terminfo/l/linux
|
Loading…
Reference in New Issue
Block a user