Skip to content
This repository

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

file 24 lines (16 sloc) 0.453 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
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 $< $@
Something went wrong with that request. Please try again.