heads/modules/popt
Sergii Dmytruk f16e92792a
Support targeting PowerPC 64
This prepares most of the modules to be build for it.

Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2022-08-25 20:55:39 +03:00

26 lines
603 B
Makefile

modules-$(CONFIG_POPT) += popt
popt_version := 1.16
popt_dir := popt-$(popt_version)
popt_tar := popt-$(popt_version).tar.gz
popt_url := https://launchpad.net/popt/head/$(popt_version)/+download/$(popt_tar)
popt_hash := e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8
popt_configure := ./configure \
$(CROSS_TOOLS) \
--prefix "/" \
--host $(MUSL_ARCH)-elf-linux \
popt_target := \
$(MAKE_JOBS) \
$(CROSS_TOOLS) \
&& $(MAKE) \
-C "$(build)/$(popt_dir)" \
$(CROSS_TOOLS) \
DESTDIR="$(INSTALL)" \
install
popt_libraries := .libs/libpopt.so.0
popt_depends := $(musl_dep)