initrd: Tell make to use makefiles from the source tree
authorAaron LI <aly@aaronly.me>
Sat, 9 Jun 2018 12:06:05 +0000 (20:06 +0800)
committerAaron LI <aly@aaronly.me>
Sun, 1 Jul 2018 09:21:59 +0000 (17:21 +0800)
commit57179abeebaf40c2fc2a839fe6dcfab8c16cffe0
treeeeb017e94331fb4f25a9eb96a39c48062ebdb3c1
parentaf6593369b649c4cbafba7e13d587c9fb8857ace
initrd: Tell make to use makefiles from the source tree

Otherwise, make uses makefiles from the system installed ones at
/usr/share/mk, therefore, the updated bsd.prog.mk has no effect until
being installed to the system.

Note that the variables assigned by make (i.e., make ... var=value)
will override the shell enviroment variables (e.g., var=value shell
command).  So make sure the make variable assignments (e.g., DESTDIR)
are put after the make.

Also fix mkinitrd.sh to remove the used temporary initrd image file.
initrd/Makefile
initrd/mkinitrd.sh