meta-openembedded/meta-networking
Jagadeesh Krishnanjanappa 37c8e1f990 iscsitarget: resolve build error with linux kernel 4.3 and above
1. test_bit was used to return true boolean value, if
   BIO_UPTODATE bit of bio->bi_flags is set. But the same
   job can be done by checking bio->bi_error, implemented in
   linux kernel 4.3 and above. If bio->bi_error is set, then
   it denotes error.

Ref: 4246a0b63b

It solves below build error:
-- snip --
iscsitarget-1.4.20.3+svn502/kernel/block-io.c:40:19: error: 'BIO_UPTODATE' undeclared (first use in this function)
   error = test_bit(BIO_UPTODATE, &bio->bi_flags) ? error : -EIO;
-- CUT --

2. bio can always be filled to a maximum value of BIO_MAX_PAGES,
   so no need to check for min value for linux kernel 4.3 and above.

Ref: b54ffb73ca

It solves below build error:
-- snip --
iscsitarget-1.4.20.3+svn502/kernel/block-io.c:80:15: error: implicit declaration of function 'bio_get_nr_vecs' [-Werror=implicit-function-declaration]
    max_pages = bio_get_nr_vecs(bio_data->bdev);
-- CUT --

3. Remove unwanted explicit setting of CFLAGS and CC flags. Setting them in
   oe_runmake command, will override CFLAGS mentioned in iscsitarget Makefile
   and resulting in a below error:

-- snip --
 In file included from iscsid.c:38:0:
 iscsid.h:38:19: fatal error: iet_u.h: No such file or directory
 compilation terminated.
 In file included from conn.c:15:0:
 iscsid.h:38:19: fatal error: iet_u.h: No such file or directory
 compilation terminated.
-- CUT --

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-04-29 11:57:47 -04:00
..
classes waf-samba.bbclass: move to meta-networking 2016-04-01 12:05:27 -04:00
conf waf-samba.bbclass: move to meta-networking 2016-04-01 12:05:27 -04:00
files/waf-cross-answers waf-cross-answers: Fix faulty link cross-answers-mipsel.txt 2016-04-06 09:14:44 -04:00
licenses crda: upgrade to 3.13 2015-02-23 13:21:07 -05:00
recipes-connectivity samba: add volatile file to support readonly rootfs 2016-04-29 11:57:47 -04:00
recipes-daemons lldpd: Update to version 0.9.2 2016-04-29 11:57:47 -04:00
recipes-extended/iscsitarget iscsitarget: resolve build error with linux kernel 4.3 and above 2016-04-29 11:57:47 -04:00
recipes-filter ebtables: enable KERNEL_64_USERSPACE_32 for powerpc 2016-02-29 16:23:35 -05:00
recipes-irc/znc znc: Blacklist 2016-02-22 15:51:18 -05:00
recipes-kernel/netmap Revert "netmap-modules: Modules may not have the same arch as userspace" 2016-03-03 11:23:05 -05:00
recipes-netkit netkit-ftp: fixed invalid symlink 2016-02-29 16:23:34 -05:00
recipes-protocols pptp-linux: update to 1.8.0 2016-04-01 12:05:27 -04:00
recipes-support libtalloc: Update to latest stable 2016-04-29 11:57:47 -04:00
COPYING.MIT meta-networking: add layer 2012-08-27 14:16:45 +02:00
MAINTAINERS README: update maintainers list for krogoth 2016-04-12 11:50:37 +02:00
README meta-networking: Update layer dependency information 2014-09-08 16:34:25 -04:00

meta-networking
===============

This layer is intended to be a central point for networking-related
packages and configuration.  It should be useful directly on top of
oe-core and compliments meta-openembedded.  It should be primarily useful
to the following groups:

      - Anyone building a small networking device (eg. a home router /
        bridge / switch).

      - Anyone wanting to add network services to their device (eg.
        anything that might benefit from a small ftp/tftp server)

Dependencies
------------

This layer depends on:

URI: git://github.com/openembedded/openembedded-core.git
branch: master
revision: HEAD

For some recipes, the meta-oe layer is required:

URI: git://github.com/openembedded/meta-openembedded.git
subdirectory: meta-oe
branch: master
revision: HEAD

URI: git://github.com/openembedded/meta-openembedded.git
subdirectory: meta-python
branch: master
revision: HEAD

Maintenance
-----------

Please see the MAINTAINERS file for information on contacting the
maintainers of this layer, as well as instructions for submitting patches.