From 1862aa6c259ebe6de86b220208e315a22515b453 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 25 Jan 2016 03:30:39 +0100 Subject: build: detect support for ethtool Pair-Programmed-With: Anoop C S Signed-off-by: Michael Adam Signed-off-by: Anoop C S Reviewed-by: Stefan Metzmacher --- lib/socket/wscript | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 lib/socket/wscript (limited to 'lib/socket/wscript') diff --git a/lib/socket/wscript b/lib/socket/wscript new file mode 100644 index 00000000000..d8c269a59a8 --- /dev/null +++ b/lib/socket/wscript @@ -0,0 +1,7 @@ +#!/usr/bin/env python + +def configure(conf): + conf.CHECK_HEADERS('linux/sockios.h linux/ethtool.h') + if (conf.CONFIG_SET('HAVE_LINUX_SOCKIOS_H') and \ + conf.CONFIG_SET('HAVE_LINUX_ETHTOOL_H')): + conf.DEFINE('HAVE_ETHTOOL', 1) -- cgit v1.2.1