diff options
-rw-r--r-- | scripts/gen_initramfs_list.sh | 3 | ||||
-rw-r--r-- | usr/Makefile | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/scripts/gen_initramfs_list.sh b/scripts/gen_initramfs_list.sh index 331c079f029b..4c723fd18648 100644 --- a/scripts/gen_initramfs_list.sh +++ b/scripts/gen_initramfs_list.sh | |||
@@ -158,7 +158,7 @@ unknown_option() { | |||
158 | } | 158 | } |
159 | 159 | ||
160 | list_header() { | 160 | list_header() { |
161 | echo "deps_initramfs := \\" | 161 | : |
162 | } | 162 | } |
163 | 163 | ||
164 | header() { | 164 | header() { |
@@ -227,6 +227,7 @@ arg="$1" | |||
227 | case "$arg" in | 227 | case "$arg" in |
228 | "-l") # files included in initramfs - used by kbuild | 228 | "-l") # files included in initramfs - used by kbuild |
229 | dep_list="list_" | 229 | dep_list="list_" |
230 | echo "deps_initramfs := \\" | ||
230 | shift | 231 | shift |
231 | ;; | 232 | ;; |
232 | "-o") # generate gzipped cpio image named $1 | 233 | "-o") # generate gzipped cpio image named $1 |
diff --git a/usr/Makefile b/usr/Makefile index e338e7bedb29..382702ad663b 100644 --- a/usr/Makefile +++ b/usr/Makefile | |||
@@ -20,7 +20,7 @@ $(obj)/initramfs_data.o: $(obj)/initramfs_data.cpio.gz FORCE | |||
20 | hostprogs-y := gen_init_cpio | 20 | hostprogs-y := gen_init_cpio |
21 | initramfs := $(CONFIG_SHELL) $(srctree)/scripts/gen_initramfs_list.sh | 21 | initramfs := $(CONFIG_SHELL) $(srctree)/scripts/gen_initramfs_list.sh |
22 | ramfs-input := $(if $(filter-out "",$(CONFIG_INITRAMFS_SOURCE)), \ | 22 | ramfs-input := $(if $(filter-out "",$(CONFIG_INITRAMFS_SOURCE)), \ |
23 | $(CONFIG_INITRAMFS_SOURCE),-d) | 23 | $(shell echo $(CONFIG_INITRAMFS_SOURCE)),-d) |
24 | ramfs-args := \ | 24 | ramfs-args := \ |
25 | $(if $(CONFIG_INITRAMFS_ROOT_UID), -u $(CONFIG_INITRAMFS_ROOT_UID)) \ | 25 | $(if $(CONFIG_INITRAMFS_ROOT_UID), -u $(CONFIG_INITRAMFS_ROOT_UID)) \ |
26 | $(if $(CONFIG_INITRAMFS_ROOT_GID), -g $(CONFIG_INITRAMFS_ROOT_GID)) | 26 | $(if $(CONFIG_INITRAMFS_ROOT_GID), -g $(CONFIG_INITRAMFS_ROOT_GID)) |