blob: c832696a31529bef1ed12588587d55e216381c6d [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From 13a60c631d7cf6c7e1926473d8069795c0def9b6 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Thu, 19 Jun 2014 15:09:56 +0100
Patrick Williamsb48b7b42016-08-17 15:04:38 -05004Subject: [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>
Brad Bishop316dfdd2018-06-25 12:45:53 -040013
Patrick Williamsb48b7b42016-08-17 15:04:38 -050014---
Brad Bishop316dfdd2018-06-25 12:45:53 -040015 Makefile | 2 +-
Patrick Williamsb48b7b42016-08-17 15:04:38 -050016 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/Makefile b/Makefile
Brad Bishop316dfdd2018-06-25 12:45:53 -040019index dbbe43d..aff969e 100644
Patrick Williamsb48b7b42016-08-17 15:04:38 -050020--- a/Makefile
21+++ b/Makefile
Brad Bishop316dfdd2018-06-25 12:45:53 -040022@@ -152,7 +152,7 @@ aufs.5: aufs.in.5 c2tmac
Patrick Williamsb48b7b42016-08-17 15:04:38 -050023 chmod a-w $@
24
25 c2sh c2tmac ver: CC = ${HOSTCC}
26-.INTERMEDIATE: c2sh c2tmac ver
27+tools: c2sh c2tmac ver
28
Brad Bishop316dfdd2018-06-25 12:45:53 -040029 install_sbin: File = auibusy aumvdown auplink mount.aufs umount.aufs
30 ifeq (${Glibc},no)