2017-03-31 15:18:46 +00:00
|
|
|
modules-y += busybox
|
2016-08-02 23:29:33 +00:00
|
|
|
|
2017-03-31 18:53:01 +00:00
|
|
|
busybox_version := 1.26.2
|
2016-08-02 23:29:33 +00:00
|
|
|
busybox_dir := busybox-$(busybox_version)
|
|
|
|
busybox_tar := busybox-$(busybox_version).tar.bz2
|
|
|
|
busybox_url := https://busybox.net/downloads/$(busybox_tar)
|
2017-03-31 18:53:01 +00:00
|
|
|
busybox_hash := da3e44913fc1a9c9b7c5337ea5292da518683cbff32be630777f565d6036af16
|
2016-08-02 23:29:33 +00:00
|
|
|
|
2017-01-28 17:16:34 +00:00
|
|
|
busybox_configure := $(MAKE) CC="$(heads_cc)" oldconfig
|
2016-11-23 17:11:08 +00:00
|
|
|
busybox_config := busybox.config
|
2016-08-02 23:29:33 +00:00
|
|
|
busybox_output := busybox
|
2016-12-29 23:23:08 +00:00
|
|
|
busybox_target := \
|
|
|
|
CC="$(heads_cc)" \
|
2017-03-31 19:26:41 +00:00
|
|
|
STRIP="$(CROSS)strip" \
|
2017-03-31 15:18:46 +00:00
|
|
|
CONFIG_PREFIX="$(initrd_dir)" \
|
2017-03-21 18:29:07 +00:00
|
|
|
$(MAKE_JOBS) \
|
2016-12-29 23:23:08 +00:00
|
|
|
install
|
2016-08-02 23:29:33 +00:00
|
|
|
|
2016-12-29 23:23:08 +00:00
|
|
|
busybox_depends := $(musl_dep)
|