From 0a5d8d5f85506e0fe0633e192defab2ce32cb1c0 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sun, 7 May 2023 23:09:47 +0200 Subject: [PATCH] linux: use positive logic to define initramfs fixups Commit d06dca38bb03 (linux: cleanup kconfig fixup processing) introduced the conditional LINUX_KCONFIG_FIXUP_CMDS_ROOTFS_CPIO, using a negative logic condition. Switch that to use positive logic. Signed-off-by: Yann E. MORIN --- linux/linux.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/linux.mk b/linux/linux.mk index 8027274c32..7c941fa339 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -370,7 +370,7 @@ endif # built, we create a fake cpio file. It'll be # replaced later by the real cpio archive, and the kernel will be # rebuilt using the linux-rebuild-with-initramfs target. -ifneq ($(BR2_TARGET_ROOTFS_INITRAMFS),) +ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y) define LINUX_KCONFIG_FIXUP_CMDS_ROOTFS_CPIO @mkdir -p $(BINARIES_DIR) $(Q)touch $(BINARIES_DIR)/rootfs.cpio