Lines Matching defs:cpio
25 cpio-data :=
36 # .cpio, use it directly as an initramfs.
37 ifneq ($(filter %.cpio,$(ramfs-input)),)
38 cpio-data := $(ramfs-input)
42 # .cpio.*, use it directly as an initramfs, and avoid double compression.
43 ifeq ($(words $(subst .cpio.,$(space),$(ramfs-input))),2)
44 cpio-data := $(ramfs-input)
50 # For other cases, generate the initramfs cpio archive based on the contents
52 ifeq ($(cpio-data),)
54 cpio-data := $(obj)/initramfs_data.cpio
58 # .initramfs_data.cpio.d is used to identify all files included
62 -include $(obj)/.initramfs_data.cpio.d
69 $(CONFIG_SHELL) $< -o $@ -l $(obj)/.initramfs_data.cpio.d \
74 # We rebuild initramfs_data.cpio if:
75 # 1) Any included file is newer than initramfs_data.cpio
77 # 3) If gen_init_cpio are newer than initramfs_data.cpio
79 $(obj)/initramfs_data.cpio: $(src)/gen_initramfs.sh $(obj)/gen_init_cpio $(deps_initramfs) FORCE
84 $(obj)/initramfs_inc_data: $(cpio-data) FORCE
87 targets += initramfs_data.cpio initramfs_inc_data