mirror of
https://github.com/pygos/build.git
synced 2024-11-22 02:59:47 +01:00
Fix local version name in linux_modules
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
parent
fc0b587074
commit
4e9e0e26f1
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ build() {
|
|||
|
||||
make -C "$1" O="$PKGBUILDDIR" ARCH="$LINUX_CPU" CROSS_COMPILE="${TARGET}-" oldconfig
|
||||
sed -i "$PKGBUILDDIR/.config" -e 's,^CONFIG_CROSS_COMPILE=.*,CONFIG_CROSS_COMPILE="'$TARGET'-",'
|
||||
sed -i "$PKGBUILDDIR/.config" -e 's,^CONFIG_LOCALVERSION=.*,CONFIG_LOCALVERSION="-'${OS_NAME}-${OS_RELEASE}'",'
|
||||
make -C "$1" O="$PKGBUILDDIR" ARCH="$LINUX_CPU" CROSS_COMPILE="${TARGET}-" -j $NUMJOBS modules
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue