mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
lirc: use the proper kernelpath, rebuild if kernel will be changed
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
b64f7012a4
commit
a4225276a4
@ -23,6 +23,7 @@ cd $PKG_BUILD
|
||||
--without-x \
|
||||
--with-driver=userspace \
|
||||
--with-syslog=LOG_DAEMON \
|
||||
--with-kerneldir=$(kernel_path) \
|
||||
$DEBUG_CONFIG
|
||||
|
||||
make
|
||||
|
14
packages/sysutils/remote/lirc/need_unpack
Executable file
14
packages/sysutils/remote/lirc/need_unpack
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
||||
STAMP=$STAMPS/$1/unpack
|
||||
|
||||
test $PKG_DIR/config/linux.$TARGET_ARCH.conf -nt $STAMP -o \
|
||||
$PKG_DIR/config/linux.$TARGET_PLATFORM.conf -nt $STAMP -o \
|
||||
$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf -nt $STAMP -o \
|
||||
$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_PLATFORM.conf -nt $STAMP -o \
|
||||
$PKG_DIR/url -nt $STAMP && rm -f $STAMP
|
||||
|
||||
exit 0
|
Loading…
x
Reference in New Issue
Block a user