Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (16 sloc) 453 Bytes
PROGS=mknod mount ifconfig udhcpc sh
all: virtunoid initrd.gz
virtunoid: virtunoid-config.h
initrd: out/virtunoid out/init out/proc $(PROGS:%=out/bin/%)
(cd out && find | cpio -o -Hnewc) > $@
%.gz: %
gzip -f $<
out out/bin out/proc: %: $(dirname %)
mkdir -p $@
$(PROGS:%=out/bin/%): out/bin/%: out/bin/busybox
ln -sf busybox $@
out/bin/busybox: out out/bin
cp /bin/busybox $@
out/init out/virtunoid: out/%: % out
cp $< $@
Something went wrong with that request. Please try again.