mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-21 13:57:52 +00:00
e9eedc4717
+CONFIG_STACK_OPTIMIZATION_386=y +CONFIG_FLOAT_DURATION=y +CONFIG_FEATURE_RTMINMAX_USE_LIBC_DEFINITIONS=y +CONFIG_FEATURE_EDITING_WINCH=y +CONFIG_BZIP2_SMALL=8 +CONFIG_FEATURE_CP_REFLINK=y +CONFIG_MKTEMP=y +CONFIG_PRINTF=y +CONFIG_SYNC=y +CONFIG_FEATURE_SYNC_FANCY=y +CONFIG_CMP=y +CONFIG_DIFF=y +CONFIG_PATCH=y +CONFIG_FEATURE_FIND_EXECUTABLE=y +CONFIG_FEATURE_FIND_QUIT=y +CONFIG_FEATURE_FIND_EMPTY=y +CONFIG_FEATURE_GPT_LABEL=y +CONFIG_MKFS_VFAT=y +CONFIG_DC=y +CONFIG_FEATURE_LESS_RAW=y +CONFIG_FEATURE_LESS_ENV=y +CONFIG_FEATURE_NSLOOKUP_BIG=y +CONFIG_FEATURE_NSLOOKUP_LONG_OPTIONS=y +CONFIG_FEATURE_NTP_AUTH=y +CONFIG_FEATURE_TFTP_HPA_COMPAT=y +CONFIG_PIDOF=y +CONFIG_FEATURE_PIDOF_SINGLE=y +CONFIG_FEATURE_PIDOF_OMIT=y +CONFIG_SHELL_ASH=y +CONFIG_ASH_BASH_NOT_FOUND_HOOK=y +CONFIG_FEATURE_SH_MATH_BASE=y +CONFIG_FEATURE_SH_EMBEDDED_SCRIPTS=y This commit changes used compressed space from 6851524 -> 6863812. Coherent reduction of free available space being 143768 -> 131480 before saturation. Net increase of 24kB for busybox binary: busybox 1.28 : 484kB busybox 1.32: 508kB Increase of 15kB of needed BIOS region space: ROM's initrd.cpio.xz with busybox 1.28: 3839kB ROM's initrd.cpio.xz with busybox 1.32: 3854kB
38 lines
1.0 KiB
Plaintext
38 lines
1.0 KiB
Plaintext
# Busybox is always included, unless explicitly turned off
|
|
CONFIG_BUSYBOX ?= y
|
|
modules-$(CONFIG_BUSYBOX) += busybox
|
|
|
|
busybox_version := 1.32.0
|
|
busybox_dir := busybox-$(busybox_version)
|
|
busybox_tar := busybox-$(busybox_version).tar.bz2
|
|
busybox_url := https://busybox.net/downloads/$(busybox_tar)
|
|
busybox_hash := c35d87f1d04b2b153d33c275c2632e40d388a88f19a9e71727e0bbbff51fe689
|
|
|
|
busybox_configure := $(MAKE) CC="$(heads_cc)" oldconfig
|
|
busybox_config := config/busybox.config
|
|
busybox_output := busybox
|
|
busybox_target := \
|
|
$(CROSS_TOOLS) \
|
|
$(MAKE_JOBS) \
|
|
|
|
# Install symlinks when the busybox program is installed
|
|
|
|
ifeq "$(CONFIG_BUSYBOX)" "y"
|
|
initrd_bins += $(initrd_bin_dir)/busybox
|
|
endif
|
|
|
|
$(initrd_tmp_dir)/bin/busybox: $(build)/$(busybox_dir)/.build
|
|
$(call do,SYMLINK,bin/busybox,\
|
|
$(MAKE) \
|
|
-C $(build)/$(busybox_dir) \
|
|
CC="$(heads_cc)" \
|
|
CONFIG_PREFIX="$(initrd_bin_dir)/.." \
|
|
install \
|
|
| tee -a $(build)/log/busybox.log \
|
|
$(VERBOSE_REDIRECT) \
|
|
)
|
|
@touch $< # ensure that our build file is still newer
|
|
|
|
|
|
busybox_depends := $(musl_dep)
|