Skip to content
Snippets Groups Projects
Commit 41059c5f authored by nbd's avatar nbd
Browse files

build: disable initramfs build within image builder


Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45673 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent bbaceeab
No related merge requests found
......@@ -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 $@)" ] || { \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment