summaryrefslogtreecommitdiffstats
path: root/target/initramfs/initramfs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/initramfs/initramfs.mk')
-rw-r--r--target/initramfs/initramfs.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/initramfs/initramfs.mk b/target/initramfs/initramfs.mk
index 07f5ec356f..830d309950 100644
--- a/target/initramfs/initramfs.mk
+++ b/target/initramfs/initramfs.mk
@@ -6,7 +6,7 @@
#
#############################################################
-ifeq ($(strip $(BR2_TARGET_ROOTFS_INITRAMFS)),y)
+ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y)
INITRAMFS_TARGET:=$(IMAGE).initramfs_list
else
INITRAMFS_TARGET:= #nothing
@@ -41,7 +41,7 @@ endif
initramfs-source:
initramfs-clean:
-ifeq ($(strip $(BR2_TARGET_ROOTFS_INITRAMFS)),y)
+ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y)
-rm -f $(INITRAMFS_TARGET)
endif
initramfs-dirclean:
OpenPOWER on IntegriCloud