mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-29 15:44:07 +00:00
Do not include busybox if CONFIG_BUSYBOX is not set (issue #346)
This commit is contained in:
parent
d9808f6659
commit
dd8685c1be
4
Makefile
4
Makefile
@ -338,9 +338,11 @@ $(foreach m, $(modules-y), \
|
||||
$(call map,initrd_lib_add,$(call libs,$m)) \
|
||||
)
|
||||
|
||||
# hack to install busybox into the initrd
|
||||
# hack to install busybox into the initrd if busybox is configured
|
||||
ifeq "$(CONFIG_BUSYBOX)" "y"
|
||||
$(build)/$(BOARD)/heads.cpio: busybox.intermediate
|
||||
initrd_bins += $(initrd_bin_dir)/busybox
|
||||
endif
|
||||
|
||||
$(initrd_bin_dir)/busybox: $(build)/$(busybox_dir)/busybox
|
||||
$(do,SYMLINK,$@,$(MAKE) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user