mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 04:57:55 +00:00
f16e92792a
This prepares most of the modules to be build for it. Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
26 lines
603 B
Makefile
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)
|