Merge pull request #2555 from Raybuntu/strip_addon_drivers

Fix wrong Strip with 64/32 in linux driver addons
This commit is contained in:
CvH 2018-03-05 13:41:28 +01:00 committed by GitHub
commit b1f27de81a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -562,7 +562,7 @@ install_driver_addon_files() {
mkdir -p $PKG_MODULE_DIR
find $@ -name \*.ko -exec cp {} $PKG_MODULE_DIR \;
find $PKG_MODULE_DIR -name \*.ko -exec $STRIP --strip-debug {} \;
find $PKG_MODULE_DIR -name \*.ko -exec ${TARGET_KERNEL_PREFIX}strip --strip-debug {} \;
mkdir -p $PKG_ADDON_DIR
cp $PKG_DIR/changelog.txt $PKG_ADDON_DIR