linuxptp: don't check host headers for target features
authorBaruch Siach <baruch@tkos.co.il>
Sat, 1 Jul 2017 21:09:35 +0000 (00:09 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 1 Jul 2017 22:36:25 +0000 (00:36 +0200)
commit85bf5750fe6415949cdd4e6ab27ed02f88f47d1e
tree1b82840c5e617233d6d4e6c381baea05ffd426f9
parent6ff0b344af6679518694bd88db09fa2078ae4ea0
linuxptp: don't check host headers for target features

The incdefs.sh script runs ${CROSS_COMPILE}cpp to get a list of default
headers directories. Make sure CROSS_COMPILE is set correctly to avoid check
of host headers.

Also, drop the CC command line override. Upstream makefile sets CC to
$(CROSS_COMPILE)gcc.

Should fix:
http://autobuild.buildroot.net/results/394/394414df25b0b7261b27ca5d4901fde0f639e73c/
http://autobuild.buildroot.net/results/6ad/6adbc8c77c2ca70246b31600ab66b37c56c1e89e/
http://autobuild.buildroot.net/results/70d/70dfd05acc9d951169267f2820ecedb37f0711fe/

Cc: Petr Kulhavy <brain@jikos.cz>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/linuxptp/linuxptp.mk