Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | Subject: [PATCH] aufs-util: add tool concept to Makefile for cross compiling |
| 2 | purpose |
| 3 | |
| 4 | In a cross compilation environment, c2sh, c2tmac and ver need to be created first. |
| 5 | Add a tools target to Makefile to allow for this. |
| 6 | |
| 7 | Upstream-Status: Pending |
| 8 | |
| 9 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
| 10 | --- |
| 11 | Makefile | 2 +- |
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 13 | |
| 14 | diff --git a/Makefile b/Makefile |
| 15 | index 2f905ad..49c3cd5 100644 |
| 16 | --- a/Makefile |
| 17 | +++ b/Makefile |
| 18 | @@ -85,7 +85,7 @@ aufs.5: aufs.in.5 c2tmac |
| 19 | chmod a-w $@ |
| 20 | |
| 21 | c2sh c2tmac ver: CC = ${HOSTCC} |
| 22 | -.INTERMEDIATE: c2sh c2tmac ver |
| 23 | +tools: c2sh c2tmac ver |
| 24 | |
| 25 | Install = install -o root -g root -p |
| 26 | install_sbin: File = auibusy auplink mount.aufs umount.aufs |
| 27 | -- |
| 28 | 1.7.9.5 |
| 29 | |