[arch-commits] Commit in linux/trunk (PKGBUILD)

Thomas Bächler thomas at nymeria.archlinux.org
Sat Jan 25 12:22:29 UTC 2014


    Date: Saturday, January 25, 2014 @ 13:22:29
  Author: thomas
Revision: 204699

Move preparation to prepare()

Modified:
  linux/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-25 12:15:43 UTC (rev 204698)
+++ PKGBUILD	2014-01-25 12:22:29 UTC (rev 204699)
@@ -94,11 +94,7 @@
 
   # don't run depmod on 'make install'. We'll do this ourselves in packaging
   sed -i '2iexit 0' scripts/depmod.sh
-}
 
-build() {
-  cd "${srcdir}/${_srcname}"
-
   # get kernel version
   make prepare
 
@@ -119,14 +115,11 @@
   else
     cat .config > "${startdir}/config.last"
   fi
+}
 
-  ####################
-  # stop here
-  # this is useful to configure the kernel
-  #msg "Stopping build"; return 1
-  ####################
+build() {
+  cd "${srcdir}/${_srcname}"
 
-  # build!
   make ${MAKEFLAGS} LOCALVERSION= bzImage modules
 }
 




More information about the arch-commits mailing list