mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-24 07:06:42 +00:00
07eb5e9717
Each of the submodule configuration files defined a subset of the cross compiler tools that it used and many were picking up the system `ar`, `nm`, `strip, `ld`, etc. They all now use a `Makefile` macro that defines the path to the proper cross compiler tools. For ones that need the tools, but not the musl-libc gcc, there is $(CROSS_TOOLS_NOCC) that is all of them without gcc. This is for musl-libc itself, as well as xen and the Linux kernel.
26 lines
564 B
Plaintext
26 lines
564 B
Plaintext
modules-$(CONFIG_POPT) += 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 \
|
|
$(CROSS_TOOLS) \
|
|
--prefix "/" \
|
|
--host i386-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)
|