Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#!/bin/env beesh
# note: BEE_MAKEFLAGS="-j $(nproc)" ./linux-xxx.bee
KERNELVERSION=${PKGVERSION}
# append extra version to get for example 4.8-rc4
KERNELVERSION=${KERNELVERSION}${PKGEXTRAVERSION_DASH}
echo $KERNELVERSION
#BEE_WGET_OPTS=(--header="Authorization: Bearer $(cat ~/.bee_gh_token)")
#SRCURL[0]="https://github.molgen.mpg.de/api/v3/repos/mariux64/linux/tarball/mariux-$KERNELVERSION-$PKGREVISION mariux-$KERNELVERSION-$PKGREVISION.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/5f867960ff47da0fd7ed52b070818015/mariux-5.15.170-478.tar.gz"
KERNELLOCAL=".mx64.${PKGREVISION}"
FULLKERNELVERSION="${KERNELVERSION}${KERNELLOCAL}"
B=${S}
same_revision_files=$(ls ${BEE_PKGDIR}/linux-[0-9].[0-9]*-${PKGREVISION}.x86_64.bee.* 2>/dev/null) \
&& echo "A kernel with revision ${PKGREVISION} has already been build: $same_revision_files" \
&& exit 1
mee_configure() {
echo "configure $@"
echo "CONFIG_LOCALVERSION=\"$KERNELLOCAL\"" > .config
grep -v 'CONFIG_LOCALVERSION=' config-mpi >> .config
make olddefconfig
}
mee_build() {
echo "build $@"
make ${BEE_MAKEFLAGS}
}
mee_install() {
echo "install $@"
make modules_install INSTALL_MOD_PATH=${D}
make install INSTALL_PATH=${D}/boot
rm -rf ${D}/lib/modules/${FULLKERNELVERSION}/{source,build}
ln -sv bzImage-${FULLKERNELVERSION} ${D}/boot/mariux.${PKGREVISION}
}