mirror of
https://github.com/pygos/build.git
synced 2024-11-25 12:20:42 +01:00
3d30afef75
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
16 lines
416 B
Text
Executable file
16 lines
416 B
Text
Executable file
# inherit package details from kernel package
|
|
source "$SCRIPTDIR/pkg/$LINUXPKG/build"
|
|
DEPENDS=""
|
|
|
|
build() {
|
|
make -C "$1" O="$PKGBUILDDIR" ARCH="$LINUX_CPU" mrproper
|
|
make -C "$1" O="$PKGBUILDDIR" ARCH="$LINUX_CPU" headers_check
|
|
}
|
|
|
|
deploy() {
|
|
local INPUT="$1"
|
|
local DEPLOY="$2"
|
|
|
|
export KBUILD_OUTPUT="$PKGBUILDDIR"
|
|
make -C "$INPUT" O="$PKGBUILDDIR" ARCH="$LINUX_CPU" INSTALL_HDR_PATH="$DEPLOY" headers_install
|
|
}
|