From d0bba4d26e378218b9311dcf934106bdfe8b7b07 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 24 Apr 2017 13:12:37 +0200 Subject: [PATCH] cleanup-toolchain: Fix TARGET for toolchain and non-toolchain pass Signed-off-by: Michael Tremer --- lfs/cleanup-toolchain | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lfs/cleanup-toolchain b/lfs/cleanup-toolchain index 2fc460ee4d..91e056ed83 100644 --- a/lfs/cleanup-toolchain +++ b/lfs/cleanup-toolchain @@ -27,7 +27,12 @@ include Config VER = ipfire THISAPP = cleanup-toolchain -TARGET = $(DIR_INFO)/$(THISAPP)-$(PASS)-tools + +ifeq "$(TOOLCHAIN)" "1" + TARGET = $(DIR_INFO)/$(THISAPP)-tools +else + TARGET = $(DIR_INFO)/$(THISAPP) +endif GCC_VER = 4.1.2 -- 2.39.5