diff options
Diffstat (limited to 'make')
-rwxr-xr-x | make | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -35,8 +35,8 @@ gen_dir_ents() { gen_depfile() { awk -v f=/dev/fd/3 -v deps="cpio_list.txt make" ' { print } - $1 == "file" { deps=deps " " $3; print $3 ":" > f } - END { print "initramfs.img: " deps > f } + $1 == "file" && $3 != "/dev/null" { deps=deps " " $3 } + END { print "DEPS = " deps "\n$(DEPS):\ninitramfs.img: $(DEPS)" > f } ' } |