File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed
Expand file tree Collapse file tree 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
2222 $(CC ) $(CFLAGS ) -Werror -x c -S -o /dev/null - > /dev/null 2>&1 && echo y || echo n)
2323
2424check_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)
2626 mkdir -p kernel/include/misc
2727ifeq (${HAS_WGET},y)
2828 $(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)
8686 $(call Q,DOCS-HTML, doxygen Doxyfile-html,)
8787
8888clean :
89- rm -rf obj testobj sampleobj docs $( VERSION_DIR ) $( VERSION_DIR ) .txz
89+ rm -rf obj testobj sampleobj docs
9090
9191install : all docs
9292 mkdir -p $(DESTDIR )$(libdir )
@@ -101,9 +101,4 @@ install: all docs
101101 install -m 0644 -D docs/html/* .* $(DESTDIR )$(datadir ) /libocxl
102102 install -m 0644 -D docs/html/search/* $(DESTDIR )$(datadir ) /libocxl/search
103103
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
55# refer to file symver.map
66VERSION_MAJOR = 1
77
8- # Change VERSION_MINOR on every release
8+ # Change VERSION_MINOR on new features
99VERSION_MINOR = 0
1010
11- VERSION_DIR = libocxl-$(VERSION_MAJOR).$(VERSION_MINOR)
12-
1311AR = $(CROSS_COMPILE)ar
1412AS = $(CROSS_COMPILE)as
1513LD = $(CROSS_COMPILE)ld
You can’t perform that action at this time.
0 commit comments