cloner: Fix the errors that the user gets on running remount-fs.sh
[bootimage-initfs.git] / Makefile
1 CPFLAGS=-pv --parents
2 INSTALLPREFIX=SET_ME
3
4 all:
5
6 clean:
7
8 install: manifest
9         IFS=: ;\
10         cat $< | while read mode source; do \
11                 cp ${CPFLAGS} $${source} ${INSTALLPREFIX}/;\
12                 chmod $${mode} ${INSTALLPREFIX}/$${source} ;\
13         done
14         ln -s bin/busybox ${INSTALLPREFIX}/init
15         mkdir ${INSTALLPREFIX}/proc
16         mkdir ${INSTALLPREFIX}/sys
17
18 .PHONY: all clean install
19