r613 - x86/trunk/packages/linux-libc-headers

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Mon Sep 5 12:44:40 PDT 2005


Author: jhuntwork
Date: 2005-09-05 13:44:38 -0600 (Mon, 05 Sep 2005)
New Revision: 613

Modified:
   x86/trunk/packages/linux-libc-headers/Makefile
Log:
Added ppc options for linux-libc-headers

Modified: x86/trunk/packages/linux-libc-headers/Makefile
===================================================================
--- x86/trunk/packages/linux-libc-headers/Makefile	2005-09-05 19:34:57 UTC (rev 612)
+++ x86/trunk/packages/linux-libc-headers/Makefile	2005-09-05 19:44:38 UTC (rev 613)
@@ -23,7 +23,12 @@
 #==============================================================================
 # Install commands below \/
 #==============================================================================
+ifeq ($(ARCH),x86)
 	@cp -Rv include/asm-i386 $(WD)/include/asm >../$(DIR)-$@.log 2>&1
+endif
+ifeq ($(ARCH),ppc)
+	@cp -Rv include/asm-ppc $(WD)/include/asm >../$(DIR)-$@.log 2>&1
+endif
 	@cp -Rv include/linux $(WD)/include >>../$(DIR)-$@.log 2>&1
 #
 #==Status Messages==========================================
@@ -42,7 +47,12 @@
 #==============================================================================
 # Install commands below \/
 #==============================================================================
+ifeq ($(ARCH),x86)
 	@cp -Rv include/asm-i386 /usr/include/asm >../$(DIR)-$@.log 2>&1
+endif
+ifeq ($(ARCH),ppc)
+	@cp -Rv include/asm-ppc /usr/include/asm >../$(DIR)-$@.log 2>&1
+endif
 	@cp -Rv include/linux /usr/include >>../$(DIR)-$@.log 2>&1
 	@chown -R root:root /usr/include/{asm,linux}
 	@find /usr/include/{asm,linux} -type d -exec chmod 755 {} \;




More information about the livecd mailing list