mirror of
https://github.com/pygos/build.git
synced 2024-11-23 03:29:46 +01:00
7dd6306b30
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
17 lines
439 B
Text
Executable file
17 lines
439 B
Text
Executable file
# inherit package details from kernel package
|
|
source "$SCRIPTDIR/pkg/$LINUXPKG/build"
|
|
DEPENDS=""
|
|
|
|
build() {
|
|
local LINUX_CPU=$(get_linux_cpu)
|
|
|
|
make -C "$1" O="$PKGBUILDDIR" ARCH="$LINUX_CPU" mrproper
|
|
make -C "$1" O="$PKGBUILDDIR" ARCH="$LINUX_CPU" headers_check
|
|
}
|
|
|
|
deploy() {
|
|
local LINUX_CPU=$(get_linux_cpu)
|
|
|
|
export KBUILD_OUTPUT="$PKGBUILDDIR"
|
|
make -C "$1" O="$PKGBUILDDIR" ARCH="$LINUX_CPU" INSTALL_HDR_PATH="$2" headers_install
|
|
}
|