2017-03-31 15:18:46 +00:00
|
|
|
modules-$(CONFIG_POPT) += popt
|
2016-12-28 17:45:12 +00:00
|
|
|
|
2024-01-10 22:46:28 +00:00
|
|
|
popt_version := 1.19
|
2016-12-28 17:45:12 +00:00
|
|
|
popt_dir := popt-$(popt_version)
|
|
|
|
popt_tar := popt-$(popt_version).tar.gz
|
2024-01-10 22:46:28 +00:00
|
|
|
popt_url := https://fossies.org/linux/misc/$(popt_tar)
|
|
|
|
popt_hash := c25a4838fc8e4c1c8aacb8bd620edb3084a3d63bf8987fdad3ca2758c63240f9
|
2016-12-28 17:45:12 +00:00
|
|
|
|
|
|
|
popt_configure := ./configure \
|
2017-04-08 17:23:34 +00:00
|
|
|
$(CROSS_TOOLS) \
|
2021-07-18 17:34:20 +00:00
|
|
|
--host $(MUSL_ARCH)-elf-linux \
|
2024-01-29 03:55:11 +00:00
|
|
|
--prefix "/" \
|
2024-01-10 22:46:28 +00:00
|
|
|
|
2017-04-08 17:23:34 +00:00
|
|
|
popt_target := \
|
|
|
|
$(MAKE_JOBS) \
|
|
|
|
$(CROSS_TOOLS) \
|
2017-01-28 18:14:56 +00:00
|
|
|
&& $(MAKE) \
|
|
|
|
-C "$(build)/$(popt_dir)" \
|
2017-04-08 17:23:34 +00:00
|
|
|
$(CROSS_TOOLS) \
|
|
|
|
DESTDIR="$(INSTALL)" \
|
2017-01-28 18:14:56 +00:00
|
|
|
install
|
2016-12-28 17:45:12 +00:00
|
|
|
|
2024-01-10 22:46:28 +00:00
|
|
|
popt_libraries := src/.libs/libpopt.so.0
|
2017-03-29 19:15:03 +00:00
|
|
|
|
2016-12-29 23:23:08 +00:00
|
|
|
popt_depends := $(musl_dep)
|