build: disable initramfs build within image builder
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45673
This commit is contained in:
parent
6ceb1b0358
commit
49e1682861
1 changed files with 2 additions and 0 deletions
|
@ -362,6 +362,7 @@ define Device/Check
|
|||
_COMPILE_TARGET = $$(if $(CONFIG_IB)$$(filter $(PROFILE),$$(PROFILES)),compile,compile-disabled)
|
||||
endef
|
||||
|
||||
ifndef IB
|
||||
define Device/Build/initramfs
|
||||
$$(_TARGET): $(BIN_DIR)/$$(KERNEL_INITRAMFS_IMAGE)
|
||||
|
||||
|
@ -373,6 +374,7 @@ define Device/Build/initramfs
|
|||
@rm -f $$@
|
||||
$$(call concat_cmd,$$(KERNEL_INITRAMFS))
|
||||
endef
|
||||
endif
|
||||
|
||||
define Device/Build/check_size
|
||||
@[ $$(($(subst k,* 1024,$(subst m, * 1024k,$(1))))) -gt "$$(stat -c%s $@)" ] || { \
|
||||
|
|
Loading…
Reference in a new issue