Magellan Linux

Diff of /branches/R11-unstable/include/kernel.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9312 by niro, Fri Nov 25 22:58:17 2011 UTC revision 9463 by niro, Thu Dec 1 15:50:56 2011 UTC
# Line 34  case ${KERNEL_TYPE} in Line 34  case ${KERNEL_TYPE} in
34   if [[ -z ${SRC_URI[*]} ]]   if [[ -z ${SRC_URI[*]} ]]
35   then   then
36   SRC_URI=(   SRC_URI=(
37   http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1-2)/${SRCFILE}   http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1).x/${SRCFILE}
38   http://ftp.uni-erlangen.de/pub/Linux/MIRROR.kernel/v$(echo ${PVER} | cut -d. -f1-2)/${SRCFILE}   http://ftp.uni-erlangen.de/pub/Linux/MIRROR.kernel/v$(echo ${PVER} | cut -d. -f1).x/${SRCFILE}
39   mirror://kernel-${BRANCH}/${SRCFILE}   mirror://kernel-${BRANCH}/${SRCFILE}
40   mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686   mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686
41   mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64   mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64
# Line 99  kernel_src_prepare() Line 99  kernel_src_prepare()
99   # fixes INSTALL_PATH to /boot and EXTRAVERSION   # fixes INSTALL_PATH to /boot and EXTRAVERSION
100   sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \   sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \
101   -e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" Makefile || die   -e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" Makefile || die
102    
103     # fix sublevel version with 3.x kernels and higher
104     local kver=$(echo ${PVER} | sed "s:\.::g")
105     if [[ ${PVER%%.*} -gt 2 ]]
106     then
107     local sublevel="$(echo ${PVER} | cut -d. -f3)"
108     sed -i "s:^\(SUBLEVEL =\).*:\1 ${sublevel}:" Makefile || die
109     fi
110  }  }
111    
112  kernel_src_compile()  kernel_src_compile()

Legend:
Removed from v.9312  
changed lines
  Added in v.9463