Skip to content
Snippets Groups Projects
Commit 6f159466 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

build: don't require GLUON_TARGET for dirclean

parent 4d7d3d05
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ all: prepare-target
prepare: prepare-target
+@$(GLUONMAKE) $@
clean dirclean download images: FORCE
clean download images: FORCE
@$(CheckExternal)
@$(CheckTarget)
+@$(GLUONMAKE_EARLY) maybe-prepare-target
......@@ -102,6 +102,12 @@ manifest: FORCE
( [ ! -e $(BOARD_BUILDDIR)/prepared ] || ( $(GLUONMAKE) manifest GLUON_TARGET='$(GLUON_TARGET)' ) ) && \
) :)
dirclean : FORCE
@for dir in build_dir dl staging_dir tmp; do \
rm -rf $(GLUON_ORIGOPENWRTDIR)/$$dir; \
done
@rm -rf $(GLUON_BUILDDIR) $(GLUON_IMAGEDIR)
else
TOPDIR=${CURDIR}
......@@ -236,12 +242,6 @@ clean: FORCE
+$(SUBMAKE) clean
rm -f $(gluon_prepared_stamp)
dirclean: FORCE
for dir in build_dir dl staging_dir tmp; do \
rm -rf $(GLUON_ORIGOPENWRTDIR)/$$dir; \
done
rm -rf $(GLUON_BUILDDIR)
export MD5SUM := $(GLUONDIR)/scripts/md5sum.sh
export SHA512SUM := $(GLUONDIR)/scripts/sha512sum.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment