diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-11-23 15:45:31 +0100 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-11-23 15:45:31 +0100 |
| commit | 1d472bb0439a83191fcda5e7a778ff0f28a0b6e5 (patch) | |
| tree | a2ef44129eddacc496f899e4fb6a9e85ce7d35ed /userspace/sys/Makefile | |
| parent | 6a3ef39feb635f529da9e36975ba77a26c1ff3b4 (diff) | |
adjusting syscalls
Diffstat (limited to 'userspace/sys/Makefile')
| -rw-r--r-- | userspace/sys/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/userspace/sys/Makefile b/userspace/sys/Makefile index 7dde55a..374d490 100644 --- a/userspace/sys/Makefile +++ b/userspace/sys/Makefile @@ -1,3 +1,25 @@ CC=i686-foolos-gcc +CFLAGS=-I../.. +CFLAGS+=-w + + +OBJECTS=sys.o syscalls.o crt0.o +all: $(OBJECTS) + +library_install: all + mkdir temp + mv *.o temp + cp /home/miguel/temp/sysroot/usr/lib/libc.a . + ar x libc.a + rm libc.a + cp temp/sys*.o . + ar rs libc.a *.o + mv libc.a /home/miguel/temp/sysroot/usr/lib/libc.a + cp temp/*.o . + rm temp -rf + +crt_install: all + cp crt0.o /home/miguel/temp/sysroot/usr/lib/ + clean: -rm *.o |
