From: Michael Tremer Date: Mon, 24 Apr 2017 11:12:37 +0000 (+0200) Subject: cleanup-toolchain: Fix TARGET for toolchain and non-toolchain pass X-Git-Tag: v2.19-core112~125 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d0bba4d26e378218b9311dcf934106bdfe8b7b07;p=ipfire-2.x.git cleanup-toolchain: Fix TARGET for toolchain and non-toolchain pass Signed-off-by: Michael Tremer --- 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