2017-03-31 15:18:46 +00:00
|
|
|
modules-$(CONFIG_POPT) += popt
|
2016-12-28 17:45:12 +00:00
|
|
|
|
|
|
|
popt_version := 1.16
|
|
|
|
popt_dir := popt-$(popt_version)
|
|
|
|
popt_tar := popt-$(popt_version).tar.gz
|
2018-05-29 21:28:47 +00:00
|
|
|
popt_url := http://anduin.linuxfromscratch.org/BLFS/popt/$(popt_tar)
|
2016-12-28 17:45:12 +00:00
|
|
|
popt_hash := e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8
|
|
|
|
|
|
|
|
popt_configure := ./configure \
|
2017-04-08 17:23:34 +00:00
|
|
|
$(CROSS_TOOLS) \
|
|
|
|
--prefix "/" \
|
2017-01-04 21:39:10 +00:00
|
|
|
--host i386-elf-linux \
|
2016-12-28 17:45:12 +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
|
|
|
|
2017-03-29 19:15:03 +00:00
|
|
|
popt_libraries := .libs/libpopt.so.0
|
|
|
|
|
2016-12-29 23:23:08 +00:00
|
|
|
popt_depends := $(musl_dep)
|