heads/modules/qrencode
Trammell Hudson ab0476ad2f
Remove populate-lib, rework libraries and kernel module installation.
The populate-lib program was buggy on some systems and could accidentally
introduce unwanted libraries into the initrd.  The Makefile now uses the
modules' $(module_libraries) variable to select which libraries should be
installed into the initrd.

Kernel modules are now stripped and installed using a similar system.
2017-03-29 15:15:03 -04:00

24 lines
605 B
Plaintext

modules += qrencode
qrencode_version := 3.4.4
qrencode_dir := qrencode-$(qrencode_version)
qrencode_tar := qrencode-$(qrencode_version).tar.gz
qrencode_url := https://fukuchi.org/works/qrencode/$(qrencode_tar)
qrencode_hash := e794e26a96019013c0e3665cb06b18992668f352c5553d0a553f5d144f7f2a72
qrencode_libraries := .libs/libqrencode.so.3
qrencode_configure := ./configure \
CC="$(heads_cc)" \
--prefix "" \
--without-tools \
--host i386-elf-linux \
qrencode_target := $(MAKE_JOBS) \
&& $(MAKE) \
-C "$(build)/$(qrencode_dir)" \
prefix="$(INSTALL)" \
install
qrencode_depends := $(musl_dep)