[CRIU] [PATCH] build: scripts/utilities.mak is not more used

Laurent Dufour ldufour at linux.vnet.ibm.com
Wed Feb 24 05:56:28 PST 2016


Cc: Cyrill Gorcunov <gorcunov at gmail.com>
Signed-off-by: Laurent Dufour <ldufour at linux.vnet.ibm.com>
---
 scripts/utilities.mak | 11 -----------
 1 file changed, 11 deletions(-)
 delete mode 100644 scripts/utilities.mak

diff --git a/scripts/utilities.mak b/scripts/utilities.mak
deleted file mode 100644
index 6fb81c39603d..000000000000
--- a/scripts/utilities.mak
+++ /dev/null
@@ -1,11 +0,0 @@
-# try-cc
-# Usage: option = $(call try-cc, source-to-build, cc-options)
-try-cc = $(shell sh -c						  		\
-	'TMP="$(OUTPUT)$(TMPOUT).$$$$";				  		\
-	 echo "$(1)" |						  		\
-	 $(CC) $(DEFINES) -x c - $(2) $(3) -o "$$TMP" > /dev/null 2>&1 && echo y;	\
-	 rm -f "$$TMP"')
-
-# pkg-config-check
-# Usage: ifeq ($(call pkg-config-check, library),y)
-pkg-config-check = $(shell sh -c 'pkg-config $(1) && echo y')
-- 
1.9.1



More information about the CRIU mailing list