heads/modules/popt
Manuel Mendez a4ba76fd90
modules: minor refactor/tweaks
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>
2024-05-02 13:00:27 -04:00

26 lines
580 B
Makefile

modules-$(CONFIG_POPT) += popt
popt_version := 1.19
popt_dir := popt-$(popt_version)
popt_tar := popt-$(popt_version).tar.gz
popt_url := https://fossies.org/linux/misc/$(popt_tar)
popt_hash := c25a4838fc8e4c1c8aacb8bd620edb3084a3d63bf8987fdad3ca2758c63240f9
popt_configure := ./configure \
$(CROSS_TOOLS) \
--host $(MUSL_ARCH)-elf-linux \
--prefix "/" \
popt_target := \
$(MAKE_JOBS) \
$(CROSS_TOOLS) \
&& $(MAKE) \
-C "$(build)/$(popt_dir)" \
$(CROSS_TOOLS) \
DESTDIR="$(INSTALL)" \
install
popt_libraries := src/.libs/libpopt.so.0
popt_depends := $(musl_dep)