svn commit: trunk/uClibc

vapier at uclibc.org vapier at uclibc.org
Sun Oct 30 22:37:11 UTC 2005


Author: vapier
Date: 2005-10-30 14:37:07 -0800 (Sun, 30 Oct 2005)
New Revision: 12081

Log:
add a headers target when the config file doesnt exist, and move the clean targets out of the .config if

Modified:
   trunk/uClibc/Makefile


Changeset:
Modified: trunk/uClibc/Makefile
===================================================================
--- trunk/uClibc/Makefile	2005-10-30 22:26:01 UTC (rev 12080)
+++ trunk/uClibc/Makefile	2005-10-30 22:37:07 UTC (rev 12081)
@@ -304,6 +304,10 @@
 	@./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 @@
 	$(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 @@
 	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:




More information about the uClibc-cvs mailing list