mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-24 15:16:42 +00:00
ab0476ad2f
The populate-lib program was buggy on some systems and could accidentally introduce unwanted libraries into the initrd. The Makefile now uses the modules' $(module_libraries) variable to select which libraries should be installed into the initrd. Kernel modules are now stripped and installed using a similar system.
23 lines
509 B
Plaintext
23 lines
509 B
Plaintext
modules += popt
|
|
|
|
popt_version := 1.16
|
|
popt_dir := popt-$(popt_version)
|
|
popt_tar := popt-$(popt_version).tar.gz
|
|
popt_url := http://rpm5.org/files/popt/$(popt_tar)
|
|
popt_hash := e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8
|
|
|
|
popt_configure := ./configure \
|
|
CC="$(heads_cc)" \
|
|
--prefix "" \
|
|
--host i386-elf-linux \
|
|
|
|
popt_target := $(MAKE_JOBS) \
|
|
&& $(MAKE) \
|
|
-C "$(build)/$(popt_dir)" \
|
|
prefix="$(INSTALL)" \
|
|
install
|
|
|
|
popt_libraries := .libs/libpopt.so.0
|
|
|
|
popt_depends := $(musl_dep)
|