Lines Matching defs:cpio
20 cpio-data :=
31 # .cpio, use it directly as an initramfs.
32 ifneq ($(filter %.cpio,$(ramfs-input)),)
33 cpio-data := $(ramfs-input)
37 # .cpio.*, use it directly as an initramfs, and avoid double compression.
38 ifeq ($(words $(subst .cpio.,$(space),$(ramfs-input))),2)
39 cpio-data := $(ramfs-input)
45 # For other cases, generate the initramfs cpio archive based on the contents
47 ifeq ($(cpio-data),)
49 cpio-data := $(obj)/initramfs_data.cpio
53 # .initramfs_data.cpio.d is used to identify all files included
57 -include $(obj)/.initramfs_data.cpio.d
64 $(CONFIG_SHELL) $< -o $@ -l $(obj)/.initramfs_data.cpio.d \
70 # We rebuild initramfs_data.cpio if:
71 # 1) Any included file is newer than initramfs_data.cpio
73 # 3) If gen_init_cpio are newer than initramfs_data.cpio
75 $(obj)/initramfs_data.cpio: $(src)/gen_initramfs.sh $(obj)/gen_init_cpio $(deps_initramfs) FORCE
80 $(obj)/initramfs_inc_data: $(cpio-data) FORCE
83 targets += initramfs_data.cpio initramfs_inc_data