File tree 2 files changed +4
-11
lines changed
2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ CHECK_OCXL_HEADER_IS_UP_TO_DATE = $(shell /bin/echo -e \\\#include \"$(1)\"\\\nv
22
22
$(CC ) $(CFLAGS ) -Werror -x c -S -o /dev/null - > /dev/null 2>&1 && echo y || echo n)
23
23
24
24
check_ocxl_header :
25
- ifeq ($(call CHECK_OCXL_HEADER_IS_UP_TO_DATE,"kernel/include/ misc/ocxl.h" ) ,n)
25
+ ifeq ($(call CHECK_OCXL_HEADER_IS_UP_TO_DATE,'< misc/ocxl.h>' ) ,n)
26
26
mkdir -p kernel/include/misc
27
27
ifeq (${HAS_WGET},y)
28
28
$(call Q,WGET kernel/include/misc/ocxl.h, wget -O kernel/include/misc/ocxl.h -q http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/include/uapi/misc/ocxl.h)
86
86
$(call Q,DOCS-HTML, doxygen Doxyfile-html,)
87
87
88
88
clean :
89
- rm -rf obj testobj sampleobj docs $( VERSION_DIR ) $( VERSION_DIR ) .txz
89
+ rm -rf obj testobj sampleobj docs
90
90
91
91
install : all docs
92
92
mkdir -p $(DESTDIR )$(libdir )
@@ -101,9 +101,4 @@ install: all docs
101
101
install -m 0644 -D docs/html/* .* $(DESTDIR )$(datadir ) /libocxl
102
102
install -m 0644 -D docs/html/search/* $(DESTDIR )$(datadir ) /libocxl/search
103
103
104
- dist :
105
- ln -s . $(VERSION_DIR )
106
- tar Jcf $(VERSION_DIR ) .txz --exclude $(VERSION_DIR ) /packages --exclude $(VERSION_DIR ) /.git --exclude $(VERSION_DIR ) /$(VERSION_DIR ) $(VERSION_DIR ) /*
107
- rm $(VERSION_DIR )
108
-
109
- .PHONY : clean all install docs precommit cppcheck cppcheck-xml dist check_ocxl_header
104
+ .PHONY : clean all install docs precommit cppcheck cppcheck-xml check_ocxl_header
Original file line number Diff line number Diff line change @@ -5,11 +5,9 @@ MAKEFLAGS += -rR
5
5
# refer to file symver.map
6
6
VERSION_MAJOR = 1
7
7
8
- # Change VERSION_MINOR on every release
8
+ # Change VERSION_MINOR on new features
9
9
VERSION_MINOR = 0
10
10
11
- VERSION_DIR = libocxl-$(VERSION_MAJOR).$(VERSION_MINOR)
12
-
13
11
AR = $(CROSS_COMPILE)ar
14
12
AS = $(CROSS_COMPILE)as
15
13
LD = $(CROSS_COMPILE)ld
You can’t perform that action at this time.
0 commit comments