mirror of https://github.com/tailix/mrubyvisor.git
Split off libc
This commit is contained in:
parent
466fde1d2c
commit
edaaff5135
2
Makefile
2
Makefile
|
@ -45,7 +45,7 @@ $(MRUBYVISOR): $(LIBKERNAUX) $(LIBMRUBY)
|
|||
|
||||
$(LIBKERNAUX):
|
||||
cd vendor/libkernaux && ./autogen.sh
|
||||
cd vendor/libkernaux && ./configure --host='i386-elf' --prefix='$(ABS_REPO)/$(DEST)' --enable-freestanding --with-drivers --with-libc AR='$(AR)' AS='$(AS)' CC='$(CC)' LD='$(LD)' RANLIB='$(RANLIB)'
|
||||
cd vendor/libkernaux && ./configure --host='i386-elf' --prefix='$(ABS_REPO)/$(DEST)' --enable-freestanding --enable-split-libc --with-drivers --with-libc AR='$(AR)' AS='$(AS)' CC='$(CC)' LD='$(LD)' RANLIB='$(RANLIB)'
|
||||
cd vendor/libkernaux && $(MAKE)
|
||||
cd vendor/libkernaux && $(MAKE) install
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ clean:
|
|||
rm -f $(MRUBYVISOR) $(OBJS)
|
||||
|
||||
$(MRUBYVISOR): $(OBJS)
|
||||
$(CC) -T linker.ld -o $@ $^ -ffreestanding -nostdlib -lkernaux -lmruby -lgcc -Wl,-L$(DEST)/lib
|
||||
$(CC) -T linker.ld -o $@ $^ -ffreestanding -nostdlib -lmruby -lkernaux -lc -lgcc -Wl,-L$(DEST)/lib
|
||||
grub-file --is-x86-multiboot2 $@
|
||||
|
||||
%.c.o: %.c
|
||||
|
|
Loading…
Reference in New Issue