summaryrefslogtreecommitdiff
path: root/usr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/Makefile')
-rw-r--r--usr/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/Makefile b/usr/Makefile
index f1779496bca7..e8f42478a0b7 100644
--- a/usr/Makefile
+++ b/usr/Makefile
@@ -16,6 +16,8 @@ obj-$(CONFIG_BLK_DEV_INITRD) := initramfs_data.o
$(obj)/initramfs_data.o: $(obj)/initramfs_inc_data
+hostprogs := gen_init_cpio
+
ramfs-input := $(CONFIG_INITRAMFS_SOURCE)
cpio-data :=
@@ -48,8 +50,6 @@ ifeq ($(cpio-data),)
cpio-data := $(obj)/initramfs_data.cpio
-hostprogs := gen_init_cpio
-
# .initramfs_data.cpio.d is used to identify all files included
# in initramfs and to detect if any files are added/removed.
# Removed files are identified by directory timestamp being updated