project: move freestanding include headers
Required for get meson build to work.pull/22/head
parent
c786c8b6ad
commit
c809fd9161
10
Makefile
10
Makefile
|
@ -20,7 +20,7 @@ EXPORT_UNPREFIXED := yes
|
|||
FREESTANDING := no
|
||||
|
||||
ifeq ($(FREESTANDING),yes)
|
||||
CFLAGS += -DFREESTANDING -isystem arch/${ARCH}/freestanding
|
||||
CFLAGS += -DFREESTANDING
|
||||
EXPORT_UNPREFIXED = no
|
||||
endif
|
||||
|
||||
|
@ -199,13 +199,13 @@ examples/cooperative_threading: examples/cooperative_threading.c ${LIBUCONTEXT_N
|
|||
|
||||
ifeq ($(FREESTANDING),no)
|
||||
|
||||
include/libucontext/bits.h: arch/common/bits.h
|
||||
cp arch/common/bits.h $@
|
||||
include/libucontext/bits.h: arch/common/include/libucontext/bits.h
|
||||
cp $< $@
|
||||
|
||||
else
|
||||
|
||||
include/libucontext/bits.h: arch/${ARCH}/freestanding/bits.h
|
||||
cp arch/${ARCH}/freestanding/bits.h $@
|
||||
include/libucontext/bits.h: arch/${ARCH}/include/libucontext/bits.h
|
||||
cp $< $@
|
||||
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue