aboutsummaryrefslogtreecommitdiff
path: root/libstb/Makefile.inc
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2017-03-16 17:07:09 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-03-16 18:14:18 +1100
commit246fb0457e6aabd81b617ab1d5423234edce3dc4 (patch)
tree7e5a2c33f957ce7d0d9c84775b3558eeb61c5194 /libstb/Makefile.inc
parentc9bf78b0556b1d2c2f3a5041d3da7df225227cde (diff)
downloadskiboot-246fb0457e6aabd81b617ab1d5423234edce3dc4.zip
skiboot-246fb0457e6aabd81b617ab1d5423234edce3dc4.tar.gz
skiboot-246fb0457e6aabd81b617ab1d5423234edce3dc4.tar.bz2
Makefile: Update clean target for stb
stb leaves a bunch of files around even after clean. Fix this. Signed-off-by: Michael Neuling <mikey@neuling.org> [stewart@linux.vnet.ibm.com: use explicit TARGET rather than *.stb] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libstb/Makefile.inc')
-rw-r--r--libstb/Makefile.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/libstb/Makefile.inc b/libstb/Makefile.inc
index 68d9dc8..8eba009 100644
--- a/libstb/Makefile.inc
+++ b/libstb/Makefile.inc
@@ -16,3 +16,8 @@ $(LIBSTB): $(LIBSTB_OBJS:%=$(LIBSTB_DIR)/%) $(DRIVERS) $(TSS)
libstb/create-container: libstb/create-container.c
$(call Q, HOSTCC ,$(HOSTCC) $(HOSTCFLAGS) \
-Wpadded -O0 -g -I$(SRC) -I$(SRC)/include -o $@ $<,$<)
+
+clean: create-container-clean
+
+create-container-clean:
+ $(RM) libstb/create-container