mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
crazycat/hauppauge: use common kernel_make function
This commit is contained in:
parent
bef9e763e5
commit
a9a32b6067
@ -47,7 +47,7 @@ pre_make_target() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
make_target() {
|
make_target() {
|
||||||
make SRCDIR=$(kernel_path) untar
|
kernel_make SRCDIR=$(kernel_path) untar
|
||||||
|
|
||||||
# copy config file
|
# copy config file
|
||||||
if [ "$PROJECT" = Generic ]; then
|
if [ "$PROJECT" = Generic ]; then
|
||||||
@ -72,7 +72,7 @@ make_target() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# add menuconfig to edit .config
|
# add menuconfig to edit .config
|
||||||
make VER=$KERNEL_VER SRCDIR=$(kernel_path)
|
kernel_make VER=$KERNEL_VER SRCDIR=$(kernel_path)
|
||||||
}
|
}
|
||||||
|
|
||||||
makeinstall_target() {
|
makeinstall_target() {
|
||||||
|
@ -47,7 +47,7 @@ pre_make_target() {
|
|||||||
|
|
||||||
make_target() {
|
make_target() {
|
||||||
cp -RP $(get_build_dir media_tree)/* $PKG_BUILD/linux
|
cp -RP $(get_build_dir media_tree)/* $PKG_BUILD/linux
|
||||||
make VER=$KERNEL_VER SRCDIR=$(kernel_path) stagingconfig
|
kernel_make VER=$KERNEL_VER SRCDIR=$(kernel_path) stagingconfig
|
||||||
|
|
||||||
# hack to workaround media_build bug
|
# hack to workaround media_build bug
|
||||||
if [ $LINUX = "amlogic-3.14" -o $LINUX = "amlogic-3.10" ]; then
|
if [ $LINUX = "amlogic-3.14" -o $LINUX = "amlogic-3.10" ]; then
|
||||||
@ -56,7 +56,7 @@ make_target() {
|
|||||||
sed -e 's/CONFIG_VIDEO_S5C73M3=m/# CONFIG_VIDEO_S5C73M3 is not set/g' -i v4l/.config
|
sed -e 's/CONFIG_VIDEO_S5C73M3=m/# CONFIG_VIDEO_S5C73M3 is not set/g' -i v4l/.config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
make VER=$KERNEL_VER SRCDIR=$(kernel_path)
|
kernel_make VER=$KERNEL_VER SRCDIR=$(kernel_path)
|
||||||
}
|
}
|
||||||
|
|
||||||
makeinstall_target() {
|
makeinstall_target() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user