Skip to content

Commit

Permalink
Makefile: split-up clean in clean and clean-all
Browse files Browse the repository at this point in the history
clean-all deletes lkl and requires a complete rebuild.
	  deletes the file system image.

clean only cleans poc's objects and keeps lkl intact.

Signed-off-by: Lucian Adrian Grijincu <lucian.grijincu@gmail.com>
  • Loading branch information
luciang committed Sep 23, 2010
1 parent 63a84a1 commit b7e23f6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Expand Up @@ -75,10 +75,13 @@ endef
$(foreach env,$(ENVS),$(eval $(call env_template,$(env))))

clean:
-rm -f $(patsubst %,*.%,$(ENVS))

clean-all: clean
-rm -rf apr linux posix nt ntk
-rm -f include/asm include/x86 include/asm-generic include/linux
-rmdir include
-rm -f $(patsubst %,*.%,$(ENVS))
-rm -rf mnt disk


.PHONY:disk
Expand Down

0 comments on commit b7e23f6

Please sign in to comment.