r423 - x86/trunk/packages/syslinux

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Fri Jul 29 08:21:24 PDT 2005


Author: jhuntwork
Date: 2005-07-29 09:21:23 -0600 (Fri, 29 Jul 2005)
New Revision: 423

Modified:
   x86/trunk/packages/syslinux/Makefile
Log:
Updated syslinux

Modified: x86/trunk/packages/syslinux/Makefile
===================================================================
--- x86/trunk/packages/syslinux/Makefile	2005-07-29 15:12:37 UTC (rev 422)
+++ x86/trunk/packages/syslinux/Makefile	2005-07-29 15:21:23 UTC (rev 423)
@@ -1,28 +1,40 @@
 # Syslinux Makefile
+#==============================================================================
 
-# Package versions
 NM= syslinux
 VRS= 3.07
 DIR= $(NM)-$(VRS)
+
 FILE= $(DIR).tar.gz
-URL= http://www.kernel.org/pub/linux/utils/boot/syslinux/$(FILE)
+URL-$(FILE)= http://www.kernel.org/pub/linux/utils/boot/syslinux/$(FILE)
+SHA-$(FILE)= cc7e69f9606a3dc7dfbe4f16c7d51f022f44f936
 
-#RULES
+# Targets
+# =============================================================================
 
-.PHONY: clean chroot stage2
+include $(ROOT)/scripts/functions
 
 chroot:
-	@chroot "$(MP)" $(chenv-blfs) 'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
+	@chroot "$(MP)" $(chenv-blfs) \
+	'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
 
-stage2:
-	@echo ""
-	@echo "=====> Building $(NM) in chroot"
-	@echo ""
-	@if [ ! -f $(FILE) ] ; then $(WGET) $(URL) ; fi
-	@if [ ! -f /boot/isolinux/isolinux.bin ] ; then unpack $(FILE) && cd $(DIR) && \
-	 cp isolinux.bin /boot/isolinux ; fi
-	@cp $(ROOT)/isolinux/{isolinux.cfg,*.msg,splash.lss} /boot/isolinux
-	@make clean
+stage2: Makefile $(FILE)
+	@$(std_build)
 
+compile-stage2:
+	@$(call echo_message, Installing)
+#==============================================================================
+# Install commands below \/
+#==============================================================================
+	@cp -v isolinux.bin /boot/isolinux >../$(DIR)-$@.log 2>&1
+	@cp -v $(ROOT)/isolinux/{isolinux.cfg,*.msg,splash.lss} /boot/isolinux \
+	 >>../$(DIR)-$@.log 2>&1
+#
+#==Status Messages===========================================
+#
+	@$(OK)
+
 clean:
 	@-rm -rf $(DIR)
+
+.PHONY: clean chroot compile-stage2




More information about the livecd mailing list