1From 13a60c631d7cf6c7e1926473d8069795c0def9b6 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Thu, 19 Jun 2014 15:09:56 +0100
4Subject: [PATCH] aufs-util: add tool concept to Makefile for cross compiling
5 purpose
6
7In a cross compilation environment, c2sh, c2tmac and ver need to be created first.
8Add a tools target to Makefile to allow for this.
9
10Upstream-Status: Pending
11
12Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
13
14---
15 Makefile | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/Makefile b/Makefile
19index dbbe43d..aff969e 100644
20--- a/Makefile
21+++ b/Makefile
22@@ -152,7 +152,7 @@ aufs.5: aufs.in.5 c2tmac
23 	chmod a-w $@
24
25 c2sh c2tmac ver: CC = ${HOSTCC}
26-.INTERMEDIATE: c2sh c2tmac ver
27+tools: c2sh c2tmac ver
28
29 install_sbin: File = auibusy aumvdown auplink mount.aufs umount.aufs
30 ifeq (${Glibc},no)
31