1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-23 03:29:46 +01:00
build/tcpkg/linux_hdr/build
David Oberhollenzer 52fb22a291 Move archiecture/target variables to TOOLCHAIN file
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-10 19:59:51 +01:00

19 lines
449 B
Text
Executable file

# inherit package details from kernel package
source "$SCRIPTDIR/pkg/$LINUXPKG/build"
DEPENDS=""
build() {
local INPUT="$1"
local OUTPUT="$2"
make -C "$INPUT" O="$OUTPUT" ARCH="$LINUX_CPU" mrproper
make -C "$INPUT" O="$OUTPUT" ARCH="$LINUX_CPU" headers_check
}
deploy() {
local INPUT="$1"
local OUTPUT="$2"
export KBUILD_OUTPUT="$OUTPUT"
make -C "$INPUT" O="$OUTPUT" ARCH="$LINUX_CPU" INSTALL_HDR_PATH="$TCDIR/$TARGET" headers_install
}