Message ID | 20170316060709.5677-1-mikey@neuling.org |
---|---|
State | Accepted |
Headers | show |
Michael Neuling <mikey@neuling.org> writes: > stb leaves a bunch of files around even after clean. Fix this. > > Signed-off-by: Michael Neuling <mikey@neuling.org> > --- > Makefile.main | 2 +- > libstb/Makefile.inc | 5 +++++ > 2 files changed, 6 insertions(+), 1 deletion(-) whoops, that was my fault. merged as of 246fb0457e6aabd81b617ab1d5423234edce3dc4 just with using the explicit $TARGET rather than *.stb, just in case you saved some stb headered things off for later use.
On Thu, 2017-03-16 at 18:15 +1100, Stewart Smith wrote: > Michael Neuling <mikey@neuling.org> writes: > > stb leaves a bunch of files around even after clean. Fix this. > > > > Signed-off-by: Michael Neuling <mikey@neuling.org> > > --- > > Makefile.main | 2 +- > > libstb/Makefile.inc | 5 +++++ > > 2 files changed, 6 insertions(+), 1 deletion(-) > > whoops, that was my fault. > > merged as of 246fb0457e6aabd81b617ab1d5423234edce3dc4 just with using > the explicit $TARGET rather than *.stb, just in case you saved some stb > headered things off for later use. OK, sound good. thanks. Mikey
diff --git a/Makefile.main b/Makefile.main index 6a69b65d48..ca94c0982c 100644 --- a/Makefile.main +++ b/Makefile.main @@ -278,7 +278,7 @@ clean: $(RM) *.[odsa] $(SUBDIRS:%=%/*.[odsa]) $(RM) *.elf $(TARGET).lid *.map $(TARGET).lds $(TARGET).lid.xz $(RM) include/asm-offsets.h version.c .version - $(RM) extract-gcov + $(RM) extract-gcov *.stb distclean: clean $(RM) *~ $(SUBDIRS:%=%/*~) include/*~ diff --git a/libstb/Makefile.inc b/libstb/Makefile.inc index 68d9dc8d2a..8eba009125 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
stb leaves a bunch of files around even after clean. Fix this. Signed-off-by: Michael Neuling <mikey@neuling.org> --- Makefile.main | 2 +- libstb/Makefile.inc | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-)