1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-22 11:09:46 +01:00
build/pkg/linux_headers/build
David Oberhollenzer 93ade05725 Remove tc- prefix from musl and linux header packages
They no longer contain anything specific to the toolchain
build process.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-17 03:02:16 +01:00

17 lines
441 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"
local DEVDEPLOY="$3"
export KBUILD_OUTPUT="$PKGBUILDDIR"
make -C "$INPUT" O="$PKGBUILDDIR" ARCH="$LINUX_CPU" INSTALL_HDR_PATH="$DEVDEPLOY" headers_install
}