SPECS: klibc.spec - make build on sparc64 - introduce verbose bcond

tommat tommat at pld-linux.org
Tue Sep 11 16:13:40 CEST 2007


Author: tommat                       Date: Tue Sep 11 14:13:40 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- make build on sparc64
- introduce verbose bcond

---- Files affected:
SPECS:
   klibc.spec (1.67 -> 1.68) 

---- Diffs:

================================================================
Index: SPECS/klibc.spec
diff -u SPECS/klibc.spec:1.67 SPECS/klibc.spec:1.68
--- SPECS/klibc.spec:1.67	Mon Sep 10 17:29:27 2007
+++ SPECS/klibc.spec	Tue Sep 11 16:13:35 2007
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_without	dist_kernel	# build without distribution kernel-headers
+%bcond_with	verbose		# verbose build
 #
 Summary:	Minimalistic libc subset for use with initramfs
 Summary(pl.UTF-8):	Zminimalizowany podzbiór biblioteki C do używania z initramfs
@@ -95,6 +96,11 @@
 ln -sf /usr/include/asm-generic .
 ln -sf /usr/include/asm .
 ln -sf /usr/include/linux .
+%ifarch sparc64
+ln -sf /usr/include/asm-sparc .
+ln -sf /usr/include/asm-sparc64 .
+%endif
+
 cd ../..
 install -d linux
 ln -sf ../usr/include linux/include
@@ -107,6 +113,7 @@
 	rpm_includedir=%{_includedir}/klibc \
 	rpm_libdir=%{_libdir} \
 	SHLIBDIR=/%{_lib} \
+	%{?with_verbose:KBUILD_VERBOSE=1} \
 	OPTFLAGS="%{rpmcflags} -Os -fomit-frame-pointer -falign-functions=0 \
 		-falign-jumps=0 -falign-loops=0 -ffreestanding"
 
@@ -166,6 +173,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.68  2007/09/11 14:13:35  tommat
+- make build on sparc64
+- introduce verbose bcond
+
 Revision 1.67  2007/09/10 15:29:27  tommat
 - hack not needed on sparc
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/klibc.spec?r1=1.67&r2=1.68&f=u



More information about the pld-cvs-commit mailing list