heads/modules/busybox
Trammell Hudson 07eb5e9717
Define $(CROSS_TOOLS) to ensure reproducible builds (issue #173)
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.
2017-04-08 13:23:34 -04:00

19 lines
525 B
Plaintext

modules-y += busybox
busybox_version := 1.26.2
busybox_dir := busybox-$(busybox_version)
busybox_tar := busybox-$(busybox_version).tar.bz2
busybox_url := https://busybox.net/downloads/$(busybox_tar)
busybox_hash := da3e44913fc1a9c9b7c5337ea5292da518683cbff32be630777f565d6036af16
busybox_configure := $(MAKE) CC="$(heads_cc)" oldconfig
busybox_config := busybox.config
busybox_output := busybox
busybox_target := \
$(CROSS_TOOLS) \
CONFIG_PREFIX="$(initrd_dir)" \
$(MAKE_JOBS) \
install
busybox_depends := $(musl_dep)