xf86-video-nvidia:

- ensure that kernel module will be rebuild if kernel has rebuild or updated
This commit is contained in:
Stephan Raue 2009-12-03 07:24:03 +01:00
parent 41bafd46a7
commit 5a954b64db

View File

@ -2,8 +2,13 @@
. config/options
PKG_DIR=`find $PACKAGES -type d -name $1`
STAMP=$STAMPS/$1/unpack
test $PACKAGES/linux/config/linux.$TARGET_ARCH.conf -nt $STAMP -o $PACKAGES/linux/config/linux.$TARGET_PLATFORM.conf -nt $STAMP -o $PACKAGES/linux/url -nt $STAMP && rm -f $STAMP
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