sstrip, nas support, mppe support, mac os x patches, syslogd on bootup, inittab corre...
[openwrt/svn-archive/archive.git] / obsolete-buildroot / sources / openwrt / kernel / patches / 160-expr.patch
1 --- linux/Makefile 2004-08-16 21:31:21.850402752 -0400
2 +++ linux/Makefile 2004-08-16 21:48:22.372259848 -0400
3 @@ -357,7 +357,7 @@
4 @rm -f .ver1
5
6 include/linux/version.h: ./Makefile
7 - @expr length "$(KERNELRELEASE)" \<= $(uts_len) > /dev/null || \
8 + @expr "$(KERNELRELEASE)" : '.*' \<= $(uts_len) > /dev/null || \
9 (echo KERNELRELEASE \"$(KERNELRELEASE)\" exceeds $(uts_len) characters >&2; false)
10 @echo \#define UTS_RELEASE \"$(KERNELRELEASE)\" > .ver
11 @echo \#define LINUX_VERSION_CODE `expr $(VERSION) \\* 65536 + $(PATCHLEVEL) \\* 256 + $(SUBLEVEL)` >> .ver