diff options
| author | Michal Idziorek <m.i@gmx.at> | 2015-05-16 20:42:37 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2015-05-16 20:42:37 +0200 |
| commit | 3bac6dd02d640923646b8ad988f509f47adab57f (patch) | |
| tree | 42d91a578fba55f6e0e6e473644aa7941ae1863c /userspace | |
| parent | ec6d07e29d1d55afe9d2c6f7f25e9fed20819af6 (diff) | |
working on smp support, strange things happening!?
Diffstat (limited to 'userspace')
| -rw-r--r-- | userspace/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/userspace/Makefile b/userspace/Makefile index 8e97ac8..666f210 100644 --- a/userspace/Makefile +++ b/userspace/Makefile @@ -1,3 +1,4 @@ + CC=i686-foolos-gcc CFLAGS= @@ -14,13 +15,16 @@ LDFLAGS=-lfool PROGS=foolshell ls simple brainfuck add checker clear task1 task2 init cat -ext2.img: $(PROGS) +include ../Makefile.common + +ext2.img: $(PROGS) ../mp/mp.bin dd if=/dev/zero of=ext2.img bs=512 count=10000 sudo mkfs.ext2 -O none ext2.img -F mkdir mnt sudo mount ext2.img mnt sudo chown miguel mnt mkdir -p mnt/home/miguel + mkdir -p mnt/boot echo "hello one" > mnt/home/miguel/test1.txt mkdir -p mnt/bin cp $^ mnt/bin @@ -28,6 +32,7 @@ ext2.img: $(PROGS) # cp ~/temp/fool-os-stuff/binutils-build-host-foolos/binutils/readelf mnt/bin cp ../font/binfont.bin mnt/ cp ~/temp/fool-os-stuff/ncurses-5.9/progs/tput mnt/bin + cp ../mp/mp.bin mnt/boot/ mkdir -p mnt/etc echo "127.0.0.1 localhost" > mnt/etc/hosts sync |
