diff options
Diffstat (limited to 'extra/Makefile')
-rw-r--r-- | extra/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/extra/Makefile b/extra/Makefile index e32daef36..4dd33b5d2 100644 --- a/extra/Makefile +++ b/extra/Makefile @@ -26,7 +26,8 @@ include $(TOPDIR)Rules.mak LIBC=$(TOPDIR)libc.a -DIRS = gcc-uClibc config +DIRS = gcc-uClibc +EXTRA_DIRS_TO_CLEAN = config all: subdirs @@ -37,12 +38,12 @@ clean: subdirs_clean rm -f *.[oa] *~ core subdirs: $(patsubst %, _dir_%, $(DIRS)) -subdirs_clean: $(patsubst %, _dirclean_%, $(DIRS)) +subdirs_clean: $(patsubst %, _dirclean_%, $(DIRS) $(EXTRA_DIRS_TO_CLEAN)) $(patsubst %, _dir_%, $(DIRS)) : dummy $(MAKE) -C $(patsubst _dir_%, %, $@) -$(patsubst %, _dirclean_%, $(DIRS)) : dummy +$(patsubst %, _dirclean_%, $(DIRS) $(EXTRA_DIRS_TO_CLEAN)) : dummy $(MAKE) -C $(patsubst _dirclean_%, %, $@) clean .PHONY: dummy |