r425 - in x86/trunk: . packages/wget

thomasp at linuxfromscratch.org thomasp at linuxfromscratch.org
Sat Jul 30 18:09:28 PDT 2005


Author: thomasp
Date: 2005-07-30 19:09:27 -0600 (Sat, 30 Jul 2005)
New Revision: 425

Modified:
   x86/trunk/Makefile
   x86/trunk/packages/wget/Makefile
Log:
added stage1 target to wget Makefile to enable rebuilding wget at the end of the tools target

Modified: x86/trunk/Makefile
===================================================================
--- x86/trunk/Makefile	2005-07-29 15:45:36 UTC (rev 424)
+++ x86/trunk/Makefile	2005-07-31 01:09:27 UTC (rev 425)
@@ -173,7 +173,8 @@
 	lfs-bzip2-scpt lfs-gzip-scpt lfs-diffutils-scpt lfs-findutils-scpt \
 	lfs-make-scpt lfs-grep-scpt lfs-sed-scpt lfs-gettext-scpt \
 	lfs-ncurses-scpt lfs-patch-scpt lfs-tar-scpt lfs-texinfo-scpt \
-	lfs-bash-scpt lfs-m4-scpt lfs-util-linux-scpt lfs-perl-scpt lfs-strip
+	lfs-bash-scpt lfs-m4-scpt lfs-util-linux-scpt lfs-perl-scpt \
+	lfs-wget-scpt lfs-strip
 	@cp /etc/resolv.conf $(WD)/etc
 
 prep-chroot:

Modified: x86/trunk/packages/wget/Makefile
===================================================================
--- x86/trunk/packages/wget/Makefile	2005-07-29 15:45:36 UTC (rev 424)
+++ x86/trunk/packages/wget/Makefile	2005-07-31 01:09:27 UTC (rev 425)
@@ -52,6 +52,39 @@
 #
 	@$(OK)
 
+stage1: Makefile
+	@$(std_build)
+
+compile-stage1:
+	@$(call echo_message, Configuring)
+#==============================================================================
+# Configure commands below \/
+#==============================================================================
+	@./configure --prefix=$(WD) --libdir=$(WD)/lib --without-ssl \
+	 --enable-static --disable-shared >../$(DIR)-$@.log 2>&1
+#
+#==Status Messages==========================================
+#
+	@$(OK)
+	@$(call echo_message, Making)
+#==============================================================================
+# Make commands below \/
+#==============================================================================
+	@make $(PM) >>../$(DIR)-$@.log 2>&1
+#
+#==Status Messages==========================================
+#
+	@$(OK)
+	@$(call echo_message, Installing)
+#==============================================================================
+# Install commands below \/
+#==============================================================================
+	@make install >>../$(DIR)-$@.log 2>&1
+#
+#==Status Messages==========================================
+#
+	@$(OK)
+
 chroot:
 	@chroot "$(MP)" $(chenv-blfs) \
 	'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
@@ -91,4 +124,4 @@
 clean:
 	@-rm -rf $(DIR)
 
-.PHONY: compile-prebuild clean chroot compile-stage2
+.PHONY: compile-prebuild compile-stage1 clean chroot compile-stage2




More information about the livecd mailing list