diff options
author | midipix <writeonce@midipix.org> | 2019-03-10 09:39:55 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-03-12 02:27:23 -0400 |
commit | d293463f416a242c4a6e6c28d593fd3955112be5 (patch) | |
tree | a71cba5d83fc869610af31838e67604674792e3f /project | |
parent | e1d2681818033bd7475408fc4e3847fcaaf8e275 (diff) | |
download | mmglue-d293463f416a242c4a6e6c28d593fd3955112be5.tar.bz2 mmglue-d293463f416a242c4a6e6c28d593fd3955112be5.tar.xz |
midipix: nt64: added sys/unwind.h, unwind (framework wrapper) interfaces.
Diffstat (limited to 'project')
-rw-r--r-- | project/arch.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/project/arch.mk b/project/arch.mk index 6eb9f20..9bb0f43 100644 --- a/project/arch.mk +++ b/project/arch.mk @@ -1,5 +1,7 @@ ifeq ($(OS),midipix) +CFLAGS_CONFIG += -I\$(PROJECT_DIR)/include + src/env/__libc_start_main.lo: CFLAGS_SHARED += -USHARED SHARED_OBJS += crt/$(ARCH)/crtn.o @@ -20,4 +22,13 @@ LDFLAGS_CONFIG += -Wl,--exclude-symbols=_IO_putc LDFLAGS_CONFIG += -Wl,--exclude-symbols=_IO_putc_unlocked LDFLAGS_CONFIG += -Wl,--exclude-symbols=___errno_location +TARGET_SYS_HEADERS = \ + $(PROJECT_DIR)/include/sys/unwind.h \ + +install-headers: install-target-sys-headers + endif + +install-target-sys-headers: $(TARGET_SYS_HEADERS) + mkdir -p $(DESTDIR)$(INCLUDEDIR)/sys + cp -p $(TARGET_SYS_HEADERS) $(DESTDIR)$(INCLUDEDIR)/sys |