dhcpcd: blacklist Sourcery PowerPC toolchains
authorBaruch Siach <baruch@tkos.co.il>
Tue, 30 Dec 2014 15:29:55 +0000 (17:29 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 31 Dec 2014 14:12:34 +0000 (15:12 +0100)
The linux/socket.h header in these toolchains is broken as described in commit
f5866484ffe (libnftnl: exclude for CS PPC toolchains).

Fixes:
http://autobuild.buildroot.net/results/d92/d92e7f2af0e64bc40f7b5c9ea081471de98bf8e8/
http://autobuild.buildroot.net/results/e97/e97e980a2f1e0ff4138a6dc03d86ad3ff0973e4a/
http://autobuild.buildroot.net/results/ca3/ca32c4de8b645c96cedb80b6270a792e9601ad84/

and some more.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dhcpcd/Config.in

index ca0ad751ffcb14eb229c34d789b7fb0ec67cb3ea..f2ca0998f8d108f689b4489875a2fcd3dfb8bbf2 100644 (file)
@@ -2,6 +2,8 @@ config BR2_PACKAGE_DHCPCD
        bool "dhcpcd"
        # No support for AI_ADDRCONFIG
        depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
+       # bad headers, no sa_family_t in linux/socket.h
+       depends on !(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103 || BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009)
        help
          An RFC2131 compliant DHCP client