diff --git a/copy-builtin b/copy-builtin index fbe20dda5f..762a34f9db 100755 --- a/copy-builtin +++ b/copy-builtin @@ -55,6 +55,8 @@ adjust_obj_paths() for MODULE in "${MODULES[@]}" do adjust_obj_paths "$KERNEL_DIR/fs/zfs/$MODULE/Makefile" + sed -i.bak '/obj =/d' "$KERNEL_DIR/fs/zfs/$MODULE/Makefile" + sed -i.bak '/src =/d' "$KERNEL_DIR/fs/zfs/$MODULE/Makefile" done cat > "$KERNEL_DIR/fs/zfs/Kconfig" <<"EOF"