mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 21:43:11 +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>
26 lines
580 B
Makefile
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)
|