commit | c5df68e829342999797f262770e45d2fac6a3b5c | [log] [tgz] |
---|---|---|
author | Alek Du <[email protected]> | Thu May 15 09:12:13 2008 +0800 |
committer | Patrick Tjin <[email protected]> | Mon Jul 21 20:22:36 2014 -0700 |
tree | 47a1e78813b564eff1e8740511b3dd560eb310bd | |
parent | bb88522177746c4d357ec88686e602752cb7f00e [diff] |
* Let Makefile pad zero to 4096
diff --git a/Makefile b/Makefile index 572cffa..e296897 100644 --- a/Makefile +++ b/Makefile
@@ -1,6 +1,9 @@ OBJ=bootstub.o head.o -all: bootstub.bin +all: bootstub + +bootstub:bootstub.bin + cat bootstub.bin /dev/zero | dd bs=4096 count=1 > $@ bootstub.bin:bootstub.elf objcopy -O binary -R .note -R .comment -S $< $@