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:
parent
f9f59e9536
commit
db7781c54a
1 changed files with 13 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue