mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-30 17:56:58 +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>
28 lines
672 B
Makefile
28 lines
672 B
Makefile
modules-$(CONFIG_QRENCODE) += 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 := \
|
|
CFLAGS="-Os" \
|
|
./configure \
|
|
$(CROSS_TOOLS) \
|
|
--host $(MUSL_ARCH)-elf-linux \
|
|
--prefix "/" \
|
|
--without-tools \
|
|
|
|
qrencode_target := \
|
|
$(MAKE_JOBS) \
|
|
$(CROSS_TOOLS) \
|
|
&& $(MAKE) \
|
|
-C "$(build)/$(qrencode_dir)" \
|
|
DESTDIR="$(INSTALL)" \
|
|
install
|
|
|
|
qrencode_depends := $(musl_dep)
|