Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (16 sloc) 0.453 kb
LDFLAGS=-static
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 $< $@
Jump to Line
Something went wrong with that request. Please try again.