diff options
author | Sergey Alyoshin <alyoshin.s@gmail.com> | 2013-10-23 16:55:00 +0400 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2013-10-27 11:14:20 +0100 |
commit | fb995444b9b2ce3a38fbb1723151e9a923835da9 (patch) | |
tree | 7dc811f6337be74205fecc40aabb044d7f3a03b4 /package/perl | |
parent | 3c933c5e3095f8b33b16762a69d66e41e6913803 (diff) | |
download | buildroot-fb995444b9b2ce3a38fbb1723151e9a923835da9.tar.gz buildroot-fb995444b9b2ce3a38fbb1723151e9a923835da9.zip |
kobs-ng: test kernel version for redefines
kobs-ng failed to build with 2.6.36, because enum tested with #ifndef
mtd.c: In function 'mtd_open':
mtd.c:696:42: error: 'MTD_FILE_MODE_NORMAL' undeclared (first use in this
function)
mtd.c:696:42: note: each undeclared identifier is reported only once for each
function it appears in
mtd.c: In function 'mtd_set_ecc_mode':
mtd.c:896:43: error: 'MTD_FILE_MODE_NORMAL' undeclared (first use in this
function)
mtd.c:914:43: error: 'MTD_FILE_MODE_RAW' undeclared (first use in this
function)
Do kernel version test before enum redefines.
Signed-off-by: Sergey Alyoshin <alyoshin.s@gmail.com>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/perl')
0 files changed, 0 insertions, 0 deletions