Apply gcc 4.4
[vuplus_openembedded] / recipes / linux / linux-bm750-2.6.18 / stblinux-2.6.18.makefile.patch
1 --- stblinux-2.6.18.org/Makefile        2008-10-03 06:15:18.000000000 +0900
2 +++ stblinux-2.6.18/Makefile    2009-03-06 20:34:04.000000000 +0900
3 @@ -867,7 +867,8 @@
4  endef
5  
6  define filechk_version.h
7 -       (echo \#define LINUX_VERSION_CODE $(shell                             \
8 +       (echo \#define UTS_RELEASE \"$(KERNELRELEASE)\"; \
9 +       echo \#define LINUX_VERSION_CODE $(shell                             \
10         expr $(VERSION) \* 65536 + $(PATCHLEVEL) \* 256 + $(SUBLEVEL));     \
11         echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';)
12  endef