Author: jhuntwork
Date: 2005-09-06 04:51:15 -0600 (Tue, 06 Sep 2005)
New Revision: 620

Modified:
   x86/trunk/packages/glibc/Makefile
Log:
Updated glibc for sparc

Modified: x86/trunk/packages/glibc/Makefile
===================================================================
--- x86/trunk/packages/glibc/Makefile   2005-09-06 07:09:13 UTC (rev 619)
+++ x86/trunk/packages/glibc/Makefile   2005-09-06 10:51:15 UTC (rev 620)
@@ -22,10 +22,10 @@
 
 include $(ROOT)/scripts/functions
 
-stage1: $(FILE) $(PATCH1)
+stage1: $(FILE) $(PATCH1) $(FILE2)
        @$(sep_dir_build)
        @$(MAKE) clean
-       @cp $(SRC)/{$(FILE),$(PATCH1)} $(LFSSRC)/
+       @cp $(SRC)/{$(FILE),$(FILE2),$(PATCH1)} $(LFSSRC)/
 
 compile-stage1:
        @$(call echo_message, Configuring)
@@ -33,6 +33,9 @@
 # Configure commands below \/
 #==============================================================================
        @cd ../$(DIR) ; patch -Np1 -i ../$(PATCH1)
+ifeq ($(ARCH),sparc)
+       @cd ../$(DIR) ; unpack ../$(FILE2) ; rm -rf nptl*
+endif
        @../$(DIR)/configure --prefix=$(WD) --disable-profile \
         --enable-add-ons --enable-kernel=2.6.0 --with-binutils=$(WD)/bin \
         --without-gd --with-headers=$(WD)/include --without-selinux \
@@ -76,6 +79,9 @@
 # Configure commands below \/
 #==============================================================================
        @cd ../$(DIR) ; patch -Np1 -i ../$(PATCH1) ; unpack ../$(FILE2)
+ifeq ($(ARCH),sparc)
+       @rm -rf ../$(DIR)/nptl*
+endif
        @../$(DIR)/configure --prefix=/usr --disable-profile \
         --enable-add-ons --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc \
         >../$(DIR)[EMAIL PROTECTED] 2>&1

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to