summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-30 22:37:07 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-30 22:37:07 +0000
commitb54b1c8153b39ddc08ee3f1edae033863063e7a3 (patch)
tree5899c4cd609cf41f0fa350c9c2802b2390aef96b
parentf89321f269250df9bd8cb61c81b2bc8569270dfd (diff)
add a headers target when the config file doesnt exist, and move the clean targets out of the .config if
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 652694f22..e3c175fa2 100644
--- a/Makefile
+++ b/Makefile
@@ -304,6 +304,10 @@ menuconfig: extra/config/mconf
@./extra/config/mconf extra/Configs/Config.in
$(MAKE) headers
+headers:
+ @echo "Need to make a config file first, run: make menuconfig"
+ @false
+
config: extra/config/conf
$(RM) -r include/bits
$(INSTALL) -d include/bits
@@ -340,6 +344,8 @@ defconfig: extra/config/conf
$(INSTALL) -d include/bits
@./extra/config/conf -d extra/Configs/Config.in
+endif # ifeq ($(HAVE_DOT_CONFIG),y)
+
clean:
@$(RM) -r lib include/bits
$(RM) lib*/*.a ldso/*/*.a libpthread/*/*.a
@@ -376,8 +382,6 @@ dist release:
tar czf ../uClibc-$(VERSION).tar.gz -C .. uClibc-$(VERSION)
du -b ../uClibc-$(VERSION).tar.gz
-endif # ifeq ($(HAVE_DOT_CONFIG),y)
-
include $(top_srcdir)Makerules
check: