Commit 8a781cf9 authored by Andrew Manison's avatar Andrew Manison

Fixed bug in definition of CC for make.

parent 79765211
...@@ -75,7 +75,7 @@ menuconfig() { ...@@ -75,7 +75,7 @@ menuconfig() {
build() { build() {
cd "$srcdir"/build cd "$srcdir"/build
make CC="${CC:--gcc}" \ make CC="${CC:-gcc}" \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" \ KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" \
|| return 1 || return 1
} }
...@@ -98,13 +98,13 @@ dev() { ...@@ -98,13 +98,13 @@ dev() {
# kernel modules and install those as /usr/src/linux-headers, # kernel modules and install those as /usr/src/linux-headers,
# simlar to what ubuntu does # simlar to what ubuntu does
# #
# this way you dont need to install the 300-400 kernel sources to # this way you dont need to install the 300-400 kernel sources to
# build a tiny kernel module # build a tiny kernel module
# #
pkgdesc="Headers and script for third party modules for grsec kernel" pkgdesc="Headers and script for third party modules for grsec kernel"
local dir="$subpkgdir"/usr/src/linux-headers-${_abi_release} local dir="$subpkgdir"/usr/src/linux-headers-${_abi_release}
# first we import config, run prepare to set up for building # first we import config, run prepare to set up for building
# external modules, and create the scripts # external modules, and create the scripts
mkdir -p "$dir" mkdir -p "$dir"
cp "$srcdir"/$_config "$dir"/.config cp "$srcdir"/$_config "$dir"/.config
......
...@@ -71,7 +71,7 @@ menuconfig() { ...@@ -71,7 +71,7 @@ menuconfig() {
build() { build() {
cd "$srcdir"/build cd "$srcdir"/build
make CC="${CC:--gcc}" \ make CC="${CC:-gcc}" \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" \ KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" \
|| return 1 || return 1
} }
...@@ -96,13 +96,13 @@ dev() { ...@@ -96,13 +96,13 @@ dev() {
# kernel modules and install those as /usr/src/linux-headers, # kernel modules and install those as /usr/src/linux-headers,
# simlar to what ubuntu does # simlar to what ubuntu does
# #
# this way you dont need to install the 300-400 kernel sources to # this way you dont need to install the 300-400 kernel sources to
# build a tiny kernel module # build a tiny kernel module
# #
pkgdesc="Headers and script for third party modules for grsec kernel" pkgdesc="Headers and script for third party modules for grsec kernel"
local dir="$subpkgdir"/usr/src/linux-headers-${_abi_release} local dir="$subpkgdir"/usr/src/linux-headers-${_abi_release}
# first we import config, run prepare to set up for building # first we import config, run prepare to set up for building
# external modules, and create the scripts # external modules, and create the scripts
mkdir -p "$dir" mkdir -p "$dir"
cp "$srcdir"/$_config "$dir"/.config cp "$srcdir"/$_config "$dir"/.config
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment