Added API headers
This commit is contained in:
@@ -19,6 +19,7 @@ prepare() {
|
|||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
make
|
make
|
||||||
|
make headers
|
||||||
}
|
}
|
||||||
|
|
||||||
# The package function is executed in the source directory
|
# The package function is executed in the source directory
|
||||||
@@ -28,6 +29,9 @@ package() {
|
|||||||
mkdir -p "$BPM_OUTPUT"/boot
|
mkdir -p "$BPM_OUTPUT"/boot
|
||||||
cp -v arch/x86/boot/bzImage "$BPM_OUTPUT"/boot/vmlinuz-"$BPM_PKG_VERSION"-tide
|
cp -v arch/x86/boot/bzImage "$BPM_OUTPUT"/boot/vmlinuz-"$BPM_PKG_VERSION"-tide
|
||||||
cp -v .config "$BPM_OUTPUT"/boot/config-"$BPM_PKG_VERSION"-tide
|
cp -v .config "$BPM_OUTPUT"/boot/config-"$BPM_PKG_VERSION"-tide
|
||||||
|
find usr/include -type f ! -name '*.h' -delete
|
||||||
|
mkdir -p "$BPM_OUTPUT"/usr/include
|
||||||
|
cp -r usr/include/. "$BPM_OUTPUT"/usr/include/
|
||||||
mkdir -p "$BPM_OUTPUT"/usr/share/doc/
|
mkdir -p "$BPM_OUTPUT"/usr/share/doc/
|
||||||
cp -r Documentation -T "$BPM_OUTPUT"/usr/share/doc/linux-"$BPM_PKG_VERSION"-tide
|
cp -r Documentation -T "$BPM_OUTPUT"/usr/share/doc/linux-"$BPM_PKG_VERSION"-tide
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user