diff options
author | midipix <writeonce@midipix.org> | 2020-05-02 02:26:23 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-05-02 02:26:23 +0000 |
commit | 60ac665d74285cfacfe4795f9e45a2dd0564e9e1 (patch) | |
tree | b4920460630ba8b7cab60b4947e047f76d0881ae | |
parent | 5ea34cb56684081537ee33b2b786d332c91764f4 (diff) | |
download | mmglue-60ac665d74285cfacfe4795f9e45a2dd0564e9e1.tar.bz2 mmglue-60ac665d74285cfacfe4795f9e45a2dd0564e9e1.tar.xz |
midipix targets: remove epoll support.
-rw-r--r-- | project/headers.mk | 7 | ||||
-rw-r--r-- | project/os/midipix.mk | 2 | ||||
-rw-r--r-- | src/linux/nt32/epoll.c | 1 | ||||
-rw-r--r-- | src/linux/nt64/epoll.c | 1 |
4 files changed, 9 insertions, 2 deletions
diff --git a/project/headers.mk b/project/headers.mk index 65ae80b..20054d5 100644 --- a/project/headers.mk +++ b/project/headers.mk @@ -1,3 +1,5 @@ +-include $(PROJECT_DIR)/project/os/$(OS).mk + # build/version.h build/version.h:$(wildcard $(SOURCE_DIR)/VERSION $(SOURCE_DIR)/.git/index) dirs.tag printf '#define VERSION "%s"\n' \ @@ -65,8 +67,9 @@ dst_bits_h += $(src_bits_h:build/include/%=$(DESTDIR)$(INCLUDEDIR)/%) src_header_dirs = $(filter %/,$(wildcard $(SOURCE_DIR)/include/*/)) dst_header_dirs = $(src_header_dirs:$(SOURCE_DIR)/include/%=$(DESTDIR)$(INCLUDEDIR)/%) -src_c_headers = $(sort $(wildcard $(SOURCE_DIR)/include/*.h)) -src_c_headers += $(sort $(wildcard $(SOURCE_DIR)/include/*/*.h)) +src_c_headers_ = $(sort $(wildcard $(SOURCE_DIR)/include/*.h)) +src_c_headers_ += $(sort $(wildcard $(SOURCE_DIR)/include/*/*.h)) +src_c_headers = $(filter-out $(OS_EXCLUDE_LIBC_HEADERS), $(src_c_headers_)) dst_c_headers = $(subst $(SOURCE_DIR)/include/, \ $(DESTDIR)$(INCLUDEDIR)/, \ diff --git a/project/os/midipix.mk b/project/os/midipix.mk new file mode 100644 index 0000000..efeec05 --- /dev/null +++ b/project/os/midipix.mk @@ -0,0 +1,2 @@ +OS_EXCLUDE_LIBC_HEADERS = \ + $(SOURCE_DIR)/include/sys/epoll.h \ diff --git a/src/linux/nt32/epoll.c b/src/linux/nt32/epoll.c new file mode 100644 index 0000000..84b166d --- /dev/null +++ b/src/linux/nt32/epoll.c @@ -0,0 +1 @@ +typedef int epoll_dummy; diff --git a/src/linux/nt64/epoll.c b/src/linux/nt64/epoll.c new file mode 100644 index 0000000..84b166d --- /dev/null +++ b/src/linux/nt64/epoll.c @@ -0,0 +1 @@ +typedef int epoll_dummy; |