SPECS: zaptel.spec - add more modules, add modules build check
glen
glen at pld-linux.org
Fri Apr 4 19:03:22 CEST 2008
Author: glen Date: Fri Apr 4 17:03:22 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add more modules, add modules build check
---- Files affected:
SPECS:
zaptel.spec (1.109 -> 1.110)
---- Diffs:
================================================================
Index: SPECS/zaptel.spec
diff -u SPECS/zaptel.spec:1.109 SPECS/zaptel.spec:1.110
--- SPECS/zaptel.spec:1.109 Fri Apr 4 18:54:47 2008
+++ SPECS/zaptel.spec Fri Apr 4 19:03:17 2008
@@ -63,7 +63,9 @@
%define modules_1 pciradio,tor2,torisa,wcfxo,wct1xxp,wct4xxp/wct4xxp,
%define modules_2 wctdm,wcte11xp,wcusb,zaptel,ztd-eth,ztd-loc,ztdummy,ztdynamic
-%define modules %{modules_1},%{modules_2}
+%define modules_3 wctc4xxp/wctc4xxp,wctdm24xxp/wctdm24xxp,wcte12xp/wcte12xp,zttranscode
+%define modules_4 xpp/{xpd_fxo,xpd_fxs,xpd_pri,xpp,xpp_usb}
+%define modules %{modules_1},%{modules_2},%{modules_3},%{modules_4}
%if %{without userspace}
# nothing to be placed to debuginfo package
@@ -187,6 +189,18 @@
%if %{with kernel}
%build_kernel_modules SUBDIRS=$PWD DOWNLOAD=$PWD/download-logger ZAP="-I$PWD" KSRC=%{_kernelsrcdir} -m %{modules}
+
+check_modules() {
+ err=0
+ for a in {*/,}*.ko; do
+ [[ $a = *-dist.ko ]] && continue
+ echo >&2 "unpackaged module: ${a%.ko}"
+ err=1
+ done
+
+ [ $err = 0 ] || exit 1
+}
+check_modules
%endif
%if %{with userspace}
@@ -287,6 +301,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.110 2008-04-04 17:03:17 glen
+- add more modules, add modules build check
+
Revision 1.109 2008-04-04 16:54:47 glen
- fix only kernel build, one firmware obsolete
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/zaptel.spec?r1=1.109&r2=1.110&f=u
More information about the pld-cvs-commit
mailing list