xref: /OK3568_Linux_fs/buildroot/package/aufs-util/0002-no-check-ver.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunMakefile: do not check version
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThe aufs-util package tries to ensure that its version is compatible
4*4882a593Smuzhiyunwith the one in the running kernel. However, this test is flawed: the
5*4882a593Smuzhiyunversion string in the aufs4x branch for aufs-util is aufs3.x, so it does
6*4882a593Smuzhiyunnot match the version in the kernel when it is aufs4.x.
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunDisengage this check, ion the assumption the user knows what he is
9*4882a593Smuzhiyundoing.
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunSigned-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12*4882a593Smuzhiyun
13*4882a593Smuzhiyundiff --git a/Makefile b/Makefile
14*4882a593Smuzhiyun--- a/Makefile
15*4882a593Smuzhiyun+++ b/Makefile
16*4882a593Smuzhiyun@@ -62,7 +62,7 @@
17*4882a593Smuzhiyun $(foreach v, CPPFLAGS CFLAGS INSTALL Install ManDir LibUtilHdr, \
18*4882a593Smuzhiyun 	$(eval MAKE += ${v}="$${${v}}"))
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun-all: ver_test ${Man} ${Bin} ${Etc}
21*4882a593Smuzhiyun+all: ${Man} ${Bin} ${Etc}
22*4882a593Smuzhiyun 	${MAKE} -C libau $@
23*4882a593Smuzhiyun 	ln -sf ./libau/libau*.so .
24*4882a593Smuzhiyun 	$(call MakeFHSM, $@)
25