Skip to content

Commit 7b7dea6

Browse files
committed
Added make qemu
1 parent 888439e commit 7b7dea6

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
busybox
22
initrd.gz
33
uInitrd
4+
vmlinuz
45

56
*~
67
*#

Makefile

+8-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ tree/bin/busybox:
2626
'
2727
chmod +x $@
2828

29-
.PHONY: publish_on_s3
29+
.PHONY: publish_on_s3 qemu dist dist_do dist_teardown
30+
31+
32+
qemu: vmlinuz initrd.gz
33+
qemu-system-arm -M versatilepb -cpu cortex-a8 -kernel ./vmlinuz -initrd ./initrd.gz -m 256 -append 'root=/dev/ram'
3034

3135
publish_on_s3: uInitrd initrd.gz
3236
for file in $<; do \
@@ -49,3 +53,6 @@ dist_do:
4953
dist_teardown:
5054
git checkout master
5155

56+
vmlinuz:
57+
#wget -O $@ http://ports.ubuntu.com/ubuntu-ports/dists/utopic/main/installer-armhf/current/images/generic/netboot/vmlinuz
58+
wget -O $@ http://ports.ubuntu.com/ubuntu-ports/dists/lucid/main/installer-armel/current/images/versatile/netboot/vmlinuz

0 commit comments

Comments
 (0)