1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Install <sortix/*.h> headers in sysroot.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-03-04 16:04:12 +01:00
parent f9f59e9536
commit db7781c54a

View file

@ -80,6 +80,16 @@ NASMFLAGS=$(CPUNASMFLAGS)
STATICLIBS=\
../libmaxsi/libmaxsi-sortix.a \
PUBLICHEADERS=\
$(CPU)/bits.h \
fcntl.h \
initrd.h \
seek.h \
keycodes.h \
termmode.h \
syscallnum.h \
stat.h \
OBJS=$(CPUOBJS) \
kernel.o \
interrupt.o \
@ -169,5 +179,7 @@ clean:
# Installation into sysroot
install:
mkdir -p $(SYSROOT)/usr/include/sortix
cp $(CPU)/bits.h $(SYSROOT)/usr/include/sortix/bits.h
for FILE in $(PUBLICHEADERS); do \
cp $$FILE $(SYSROOT)/usr/include/sortix/`basename $$FILE`; \
done